@b3dotfun/sdk 0.0.7-alpha.0 → 0.0.7-alpha.1

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.
@@ -40,5 +40,8 @@ exports.b3MainnetThirdWeb = exports.supportedChainsTW.find(chain => chain.id ===
40
40
  exports.b3TestnetThirdWeb = exports.supportedChainsTW.find(chain => chain.id === 1993);
41
41
  (0, invariant_1.default)(exports.b3TestnetThirdWeb, "B3 testnet chain not found in supported chains TW");
42
42
  exports.b3Mainnet = exports.supportedChains.find(chain => chain.id === 8333);
43
+ (0, invariant_1.default)(exports.b3Mainnet, "B3 mainnet chain not found in supported chains");
43
44
  exports.b3Testnet = exports.supportedChains.find(chain => chain.id === 1993);
45
+ (0, invariant_1.default)(exports.b3Testnet, "B3 testnet chain not found in supported chains");
44
46
  exports.baseMainnet = exports.supportedChains.find(chain => chain.id === 8453);
47
+ (0, invariant_1.default)(exports.baseMainnet, "Base mainnet chain not found in supported chains");
@@ -33,5 +33,8 @@ invariant(b3MainnetThirdWeb, "B3 mainnet chain not found in supported chains TW"
33
33
  export const b3TestnetThirdWeb = supportedChainsTW.find(chain => chain.id === 1993);
34
34
  invariant(b3TestnetThirdWeb, "B3 testnet chain not found in supported chains TW");
35
35
  export const b3Mainnet = supportedChains.find(chain => chain.id === 8333);
36
+ invariant(b3Mainnet, "B3 mainnet chain not found in supported chains");
36
37
  export const b3Testnet = supportedChains.find(chain => chain.id === 1993);
38
+ invariant(b3Testnet, "B3 testnet chain not found in supported chains");
37
39
  export const baseMainnet = supportedChains.find(chain => chain.id === 8453);
40
+ invariant(baseMainnet, "Base mainnet chain not found in supported chains");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b3dotfun/sdk",
3
- "version": "0.0.7-alpha.0",
3
+ "version": "0.0.7-alpha.1",
4
4
  "source": "src/index.ts",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "react-native": "./dist/cjs/index.native.js",
@@ -52,5 +52,10 @@ export const b3TestnetThirdWeb: ThirdwebChain = supportedChainsTW.find(chain =>
52
52
  invariant(b3TestnetThirdWeb, "B3 testnet chain not found in supported chains TW");
53
53
 
54
54
  export const b3Mainnet = supportedChains.find(chain => chain.id === 8333)!;
55
+ invariant(b3Mainnet, "B3 mainnet chain not found in supported chains");
56
+
55
57
  export const b3Testnet = supportedChains.find(chain => chain.id === 1993)!;
58
+ invariant(b3Testnet, "B3 testnet chain not found in supported chains");
59
+
56
60
  export const baseMainnet = supportedChains.find(chain => chain.id === 8453)!;
61
+ invariant(baseMainnet, "Base mainnet chain not found in supported chains");