getAlby / js-sdk

JavaScript SDK for the Alby OAuth2 Wallet API and the Nostr Wallet Connect API.
https://npmjs.com/package/@getalby/sdk
63 stars 16 forks source link

chore: try eventemitter3 #210

Closed bumi closed 7 months ago

bumi commented 8 months ago

as the events package does not play nicely in a module import setup this is an alternative.

https://www.npmjs.com/package/eventemitter3

socket-security[bot] commented 8 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/domelementtype@2.3.0 None 0 11.4 kB feedic
npm/es-abstract@1.20.4 Transitive: eval +30 3.2 MB ljharb
npm/graceful-fs@4.2.11 environment, filesystem 0 32.5 kB isaacs
npm/has-bigints@1.0.2 None 0 12.8 kB ljharb
npm/is-callable@1.2.7 None 0 28.9 kB ljharb
npm/is-docker@2.2.1 filesystem 0 3.01 kB sindresorhus
npm/is-string@1.0.7 None 0 19.1 kB ljharb
npm/is-symbol@1.0.4 None +1 42.6 kB ljharb
npm/object-inspect@1.12.2 None 0 93.6 kB ljharb
npm/regexp.prototype.flags@1.4.3 Transitive: eval +9 200 kB ljharb

🚮 Removed packages: npm/graceful-fs@4.2.10, npm/jest-util@29.5.0, npm/pretty-format@29.5.0

View full report↗︎

socket-security[bot] commented 8 months ago

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

rolznz commented 7 months ago

@pavanjoshi914 any chance you can check this works with the extension, and if so make a patch release of js-sdk and consume the new version in the extension?

pavanjoshi914 commented 7 months ago

looks good! able to receive tokens via event

image