shogun-core 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +6 -6
  2. package/dist/browser/shogun-core.js +1 -1
  3. package/dist/browser/shogun-core.light.js +1 -0
  4. package/dist/browser/shogun-core.vendors.light.js +1 -0
  5. package/dist/browser.js +8 -8
  6. package/dist/core.js +45 -44
  7. package/dist/gundb/gun.js +112 -92
  8. package/dist/plugins/index.js +4 -4
  9. package/dist/plugins/{bitcoin → nostr}/nostrConnectorPlugin.js +7 -8
  10. package/dist/plugins/{ethereum → web3}/web3ConnectorPlugin.js +7 -7
  11. package/dist/types/browser.d.ts +4 -4
  12. package/dist/types/core.d.ts +1 -2
  13. package/dist/types/gundb/gun.d.ts +4 -10
  14. package/dist/types/plugins/index.d.ts +6 -6
  15. package/dist/types/shogun.js +2 -2
  16. package/dist/types/types/shogun.d.ts +5 -23
  17. package/package.json +1 -1
  18. package/dist/gundb/models/auth/auth.js +0 -207
  19. package/dist/gundb/models/auth/state-machine.js +0 -216
  20. package/dist/gundb/models/streams.js +0 -116
  21. package/dist/types/gundb/models/auth/auth.d.ts +0 -121
  22. package/dist/types/gundb/models/auth/state-machine.d.ts +0 -70
  23. package/dist/types/gundb/models/streams.d.ts +0 -67
  24. /package/dist/plugins/{bitcoin → nostr}/index.js +0 -0
  25. /package/dist/plugins/{bitcoin → nostr}/nostrConnector.js +0 -0
  26. /package/dist/plugins/{bitcoin → nostr}/types.js +0 -0
  27. /package/dist/plugins/{ethereum → web3}/index.js +0 -0
  28. /package/dist/plugins/{ethereum → web3}/types.js +0 -0
  29. /package/dist/plugins/{ethereum → web3}/web3Connector.js +0 -0
  30. /package/dist/types/plugins/{bitcoin → nostr}/index.d.ts +0 -0
  31. /package/dist/types/plugins/{bitcoin → nostr}/nostrConnector.d.ts +0 -0
  32. /package/dist/types/plugins/{bitcoin → nostr}/nostrConnectorPlugin.d.ts +0 -0
  33. /package/dist/types/plugins/{bitcoin → nostr}/types.d.ts +0 -0
  34. /package/dist/types/plugins/{ethereum → web3}/index.d.ts +0 -0
  35. /package/dist/types/plugins/{ethereum → web3}/types.d.ts +0 -0
  36. /package/dist/types/plugins/{ethereum → web3}/web3Connector.d.ts +0 -0
  37. /package/dist/types/plugins/{ethereum → web3}/web3ConnectorPlugin.d.ts +0 -0
package/README.md CHANGED
@@ -20,8 +20,8 @@ Shogun SDK is a comprehensive toolkit for Web3 developers that simplifies decent
20
20
  - **[Core SDK](wiki/core.md)**: Main SDK entry point and configuration
21
21
  - **[GunDB Integration](wiki/gundb.md)**: Enhanced wrapper around GunDB with additional features
22
22
  - **[WebAuthn](wiki/webauthn.md)**: Passwordless authentication with biometrics and security keys
23
- - **[Ethereum](wiki/ethereum.md)**: Ethereum wallet integration and authentication
24
- - **[Bitcoin](wiki/bitcoin.md)**: Bitcoin and Nostr protocol integration
23
+ - **[Web3](wiki/web3.md)**: Ethereum wallet integration and authentication
24
+ - **[Nostr](wiki/nostr.md)**: Bitcoin and Nostr protocol integration
25
25
  - **[Contracts SDK](wiki/contracts.md)**: Tools for interacting with Shogun Protocol smart contracts
26
26
 
27
27
  ## Additional Plugins
@@ -63,8 +63,8 @@ const loginResult = await shogun.login("username", "password");
63
63
 
64
64
  // Access core plugins
65
65
  const webauthnPlugin = shogun.getPlugin("webauthn");
66
- const ethereumPlugin = shogun.getPlugin("ethereum");
67
- const bitcoinPlugin = shogun.getPlugin("bitcoin");
66
+ const web3Plugin = shogun.getPlugin("web3");
67
+ const nostrPlugin = shogun.getPlugin("nostr");
68
68
 
69
69
  // Optional: Use external plugins
70
70
  import { HDWalletPlugin } from "@shogun/bip44";
@@ -84,8 +84,8 @@ For detailed documentation on each component, please refer to the wiki pages:
84
84
  - **[Core SDK Documentation](wiki/core.md)**
85
85
  - **[GunDB Integration](wiki/gundb.md)**
86
86
  - **[WebAuthn Plugin](wiki/webauthn.md)**
87
- - **[Ethereum Plugin](wiki/ethereum.md)**
88
- - **[Bitcoin Plugin](wiki/bitcoin.md)**
87
+ - **[Web3 Plugin](wiki/web3.md)**
88
+ - **[Nostr Plugin](wiki/nostr.md)**
89
89
  - **[Contracts SDK](wiki/contracts.md)**
90
90
 
91
91
  External plugin documentation: