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.
- package/README.md +6 -6
- package/dist/browser/shogun-core.js +1 -1
- package/dist/browser/shogun-core.light.js +1 -0
- package/dist/browser/shogun-core.vendors.light.js +1 -0
- package/dist/browser.js +8 -8
- package/dist/core.js +45 -44
- package/dist/gundb/gun.js +112 -92
- package/dist/plugins/index.js +4 -4
- package/dist/plugins/{bitcoin → nostr}/nostrConnectorPlugin.js +7 -8
- package/dist/plugins/{ethereum → web3}/web3ConnectorPlugin.js +7 -7
- package/dist/types/browser.d.ts +4 -4
- package/dist/types/core.d.ts +1 -2
- package/dist/types/gundb/gun.d.ts +4 -10
- package/dist/types/plugins/index.d.ts +6 -6
- package/dist/types/shogun.js +2 -2
- package/dist/types/types/shogun.d.ts +5 -23
- package/package.json +1 -1
- package/dist/gundb/models/auth/auth.js +0 -207
- package/dist/gundb/models/auth/state-machine.js +0 -216
- package/dist/gundb/models/streams.js +0 -116
- package/dist/types/gundb/models/auth/auth.d.ts +0 -121
- package/dist/types/gundb/models/auth/state-machine.d.ts +0 -70
- package/dist/types/gundb/models/streams.d.ts +0 -67
- /package/dist/plugins/{bitcoin → nostr}/index.js +0 -0
- /package/dist/plugins/{bitcoin → nostr}/nostrConnector.js +0 -0
- /package/dist/plugins/{bitcoin → nostr}/types.js +0 -0
- /package/dist/plugins/{ethereum → web3}/index.js +0 -0
- /package/dist/plugins/{ethereum → web3}/types.js +0 -0
- /package/dist/plugins/{ethereum → web3}/web3Connector.js +0 -0
- /package/dist/types/plugins/{bitcoin → nostr}/index.d.ts +0 -0
- /package/dist/types/plugins/{bitcoin → nostr}/nostrConnector.d.ts +0 -0
- /package/dist/types/plugins/{bitcoin → nostr}/nostrConnectorPlugin.d.ts +0 -0
- /package/dist/types/plugins/{bitcoin → nostr}/types.d.ts +0 -0
- /package/dist/types/plugins/{ethereum → web3}/index.d.ts +0 -0
- /package/dist/types/plugins/{ethereum → web3}/types.d.ts +0 -0
- /package/dist/types/plugins/{ethereum → web3}/web3Connector.d.ts +0 -0
- /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
|
-
- **[
|
|
24
|
-
- **[
|
|
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
|
|
67
|
-
const
|
|
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
|
-
- **[
|
|
88
|
-
- **[
|
|
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:
|