dfinity / agent-js

A collection of libraries and tools for building software around the Internet Computer, in JavaScript.
https://agent-js.icp.xyz
Apache License 2.0
151 stars 93 forks source link

fix: ObservableLog no longer extends Function #887

Closed krpeacock closed 3 months ago

krpeacock commented 3 months ago

Description

Funded app reported that in Chrome browser extensions, the Function / Proxy implementation was being rejected under rules blocking the use of eval.

How Has This Been Tested?

Once Funded has tested the changes in their extension, this can be merged

Checklist:

github-actions[bot] commented 3 months ago

size-limit report 📦

Path Size
@dfinity/agent 85.8 KB (-0.12% 🔽)
@dfinity/candid 13.58 KB (0%)
@dfinity/principal 4.97 KB (0%)
@dfinity/auth-client 60.8 KB (-0.06% 🔽)
@dfinity/assets 80.5 KB (-0.05% 🔽)
@dfinity/identity 58 KB (-0.1% 🔽)
@dfinity/identity-secp256k1 266.21 KB (-0.04% 🔽)
mzibara commented 3 months ago

Approved on PLUG side, thank you!