@zubari/sdk 0.2.6 → 0.2.8
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/dist/{index-xZYY0MEX.d.mts → index-BOc9U2TK.d.mts} +1 -0
- package/dist/{index-BPojlGT6.d.ts → index-Cqrpp3XA.d.ts} +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -8
- package/dist/index.mjs.map +1 -1
- package/dist/protocols/index.js.map +1 -1
- package/dist/protocols/index.mjs.map +1 -1
- package/dist/services/index.js +11 -8
- package/dist/services/index.js.map +1 -1
- package/dist/services/index.mjs +11 -8
- package/dist/services/index.mjs.map +1 -1
- package/dist/wallet/index.d.mts +1 -1
- package/dist/wallet/index.d.ts +1 -1
- package/dist/wallet/index.js +11 -8
- package/dist/wallet/index.js.map +1 -1
- package/dist/wallet/index.mjs +11 -8
- package/dist/wallet/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CURRENCY_ADDRESSES, N as NFT_VOUCHER_DOMAIN, c as NFT_VOUCHER_TYPES, P as PLATFORM_CONFIG, b as ZERO_ADDRESS, a as ZUBARI_CONTRACTS, Z as ZubariWallet, g as getContractAddresses } from './index-
|
|
1
|
+
export { C as CURRENCY_ADDRESSES, N as NFT_VOUCHER_DOMAIN, c as NFT_VOUCHER_TYPES, P as PLATFORM_CONFIG, b as ZERO_ADDRESS, a as ZUBARI_CONTRACTS, Z as ZubariWallet, g as getContractAddresses } from './index-BOc9U2TK.mjs';
|
|
2
2
|
export { D as DERIVATION_PATHS, N as NETWORKS, T as TESTNET_NETWORKS, W as WalletManager, b as WalletManagerConfig, a as WalletState, g as getNetworkConfig } from './WalletManager-B1qvFF4K.mjs';
|
|
3
3
|
export { M as MemoryStorageAdapter, S as SecureStorageAdapter, W as WebEncryptedStorageAdapter, c as createSecureStorage } from './SecureStorage-jO783AhC.mjs';
|
|
4
4
|
export { ZubariMarketProtocol, ZubariNFTProtocol, ZubariPayoutsProtocol, ZubariSubscriptionProtocol, ZubariTipsProtocol } from './protocols/index.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CURRENCY_ADDRESSES, N as NFT_VOUCHER_DOMAIN, c as NFT_VOUCHER_TYPES, P as PLATFORM_CONFIG, b as ZERO_ADDRESS, a as ZUBARI_CONTRACTS, Z as ZubariWallet, g as getContractAddresses } from './index-
|
|
1
|
+
export { C as CURRENCY_ADDRESSES, N as NFT_VOUCHER_DOMAIN, c as NFT_VOUCHER_TYPES, P as PLATFORM_CONFIG, b as ZERO_ADDRESS, a as ZUBARI_CONTRACTS, Z as ZubariWallet, g as getContractAddresses } from './index-Cqrpp3XA.js';
|
|
2
2
|
export { D as DERIVATION_PATHS, N as NETWORKS, T as TESTNET_NETWORKS, W as WalletManager, b as WalletManagerConfig, a as WalletState, g as getNetworkConfig } from './WalletManager-CCs4Jsv7.js';
|
|
3
3
|
export { M as MemoryStorageAdapter, S as SecureStorageAdapter, W as WebEncryptedStorageAdapter, c as createSecureStorage } from './SecureStorage-jO783AhC.js';
|
|
4
4
|
export { ZubariMarketProtocol, ZubariNFTProtocol, ZubariPayoutsProtocol, ZubariSubscriptionProtocol, ZubariTipsProtocol } from './protocols/index.js';
|
package/dist/index.js
CHANGED
|
@@ -147,14 +147,16 @@ function getNetworkConfig(network, isTestnet = false) {
|
|
|
147
147
|
var ZERO_ADDRESS = "0x0000000000000000000000000000000000000000";
|
|
148
148
|
var ZUBARI_CONTRACTS = {
|
|
149
149
|
testnet: {
|
|
150
|
-
// Ethereum Sepolia (11155111) - Deployed 2024-12-
|
|
151
|
-
registry: "
|
|
152
|
-
nft: "
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
150
|
+
// Ethereum Sepolia (11155111) - Deployed 2024-12-31
|
|
151
|
+
registry: "0xe5CE1Eb986f58BE42EEDFe5C18ee5956803b2BDC",
|
|
152
|
+
nft: "0xc165b8C6843e8f0B1489525D0f853d23f22c677B",
|
|
153
|
+
// ZubariNFT ERC-721 with payment
|
|
154
|
+
nft1155: "0x5e618B5bEaE1dc41369E7aa235Cc3b9245905192",
|
|
155
|
+
// Zubari1155 ERC-1155 multi-edition
|
|
156
|
+
marketplace: "0xfcEfDa6C73aC357b8695E5F8F8d17820750BF207",
|
|
157
|
+
tips: "0x86a9A306C7fCC9e0B8cd6859f6f15498d0046BB7",
|
|
158
|
+
subscriptions: "0xaB7F17A85F61d9ab9f96bCB4e73e910D019978F7",
|
|
159
|
+
payouts: "0x8aaB23Fb2a83A259E965Aae8Ee0938b1400B7E6b",
|
|
158
160
|
entryPoint: "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",
|
|
159
161
|
paymaster: ZERO_ADDRESS,
|
|
160
162
|
// Deploy with: npx hardhat run deploy/deploy.ts --network ethereum-sepolia
|
|
@@ -168,6 +170,7 @@ var ZUBARI_CONTRACTS = {
|
|
|
168
170
|
// Ethereum Mainnet (1)
|
|
169
171
|
registry: ZERO_ADDRESS,
|
|
170
172
|
nft: ZERO_ADDRESS,
|
|
173
|
+
nft1155: ZERO_ADDRESS,
|
|
171
174
|
marketplace: ZERO_ADDRESS,
|
|
172
175
|
tips: ZERO_ADDRESS,
|
|
173
176
|
subscriptions: ZERO_ADDRESS,
|