thirdweb 5.31.0 → 5.31.1-nightly-cbb0bc2835bcfef62e69c18596063842f305f624-20240701000440

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.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = "5.31.0";
4
+ exports.version = "5.31.1-nightly-cbb0bc2835bcfef62e69c18596063842f305f624-20240701000440";
5
5
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,wEAAwE,CAAC"}
@@ -1,2 +1,2 @@
1
- export const version = "5.31.0";
1
+ export const version = "5.31.1-nightly-cbb0bc2835bcfef62e69c18596063842f305f624-20240701000440";
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,wEAAwE,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const version = "5.31.0";
1
+ export declare const version = "5.31.1-nightly-cbb0bc2835bcfef62e69c18596063842f305f624-20240701000440";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,2EAA2E,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thirdweb",
3
- "version": "5.31.0",
3
+ "version": "5.31.1-nightly-cbb0bc2835bcfef62e69c18596063842f305f624-20240701000440",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/thirdweb-dev/js.git#main"
@@ -2,9 +2,9 @@ import { describe, expect, it } from "vitest";
2
2
  import { ANVIL_CHAIN } from "../../../test/src/chains.js";
3
3
  import { TEST_CLIENT } from "../../../test/src/test-clients.js";
4
4
  import { TEST_ACCOUNT_A } from "../../../test/src/test-wallets.js";
5
- import { ADDRESS_ZERO } from "../../constants/addresses.js";
5
+ import { ZERO_ADDRESS } from "../../constants/addresses.js";
6
6
  import { getContract } from "../../contract/contract.js";
7
- import { sendTransaction } from "../../transaction/actions/send-transaction.js";
7
+ import { sendAndConfirmTransaction } from "../../transaction/actions/send-and-confirm-transaction.js";
8
8
  import { installPublishedExtension } from "../modular/ModularCore/write/installPublishedExtension.js";
9
9
  import { uninstallExtensionByProxy } from "../modular/ModularCore/write/uninstallExtensionByProxy.js";
10
10
  import { uninstallPublishedExtension } from "../modular/ModularCore/write/uninstallPublishedExtension.js";
@@ -65,7 +65,7 @@ describe.runIf(process.env.TW_SECRET_KEY)(
65
65
  extensionName: "DemoExtensionWithFunctions",
66
66
  publisherAddress: "0xFD78F7E2dF2B8c3D5bff0413c96f3237500898B3",
67
67
  });
68
- await sendTransaction({
68
+ await sendAndConfirmTransaction({
69
69
  transaction: installTransaction,
70
70
  account: TEST_ACCOUNT_A,
71
71
  });
@@ -75,7 +75,7 @@ describe.runIf(process.env.TW_SECRET_KEY)(
75
75
  contract: core,
76
76
  });
77
77
  const extensionAddress = installedExtensions[0]?.implementation;
78
- expect(extensionAddress).to.not.equal(ADDRESS_ZERO);
78
+ expect(extensionAddress).to.not.equal(ZERO_ADDRESS);
79
79
 
80
80
  // uninstall extension
81
81
  const uninstallTransaction = uninstallExtensionByProxy({
@@ -85,7 +85,7 @@ describe.runIf(process.env.TW_SECRET_KEY)(
85
85
  extensionProxyAddress: extensionAddress as string,
86
86
  extensionData: "0x",
87
87
  });
88
- await sendTransaction({
88
+ await sendAndConfirmTransaction({
89
89
  transaction: uninstallTransaction,
90
90
  account: TEST_ACCOUNT_A,
91
91
  });
@@ -123,7 +123,7 @@ describe.runIf(process.env.TW_SECRET_KEY)(
123
123
  extensionName: "DemoExtensionWithFunctions",
124
124
  publisherAddress: "0xFD78F7E2dF2B8c3D5bff0413c96f3237500898B3",
125
125
  });
126
- await sendTransaction({
126
+ await sendAndConfirmTransaction({
127
127
  transaction: installTransaction,
128
128
  account: TEST_ACCOUNT_A,
129
129
  });
@@ -143,7 +143,7 @@ describe.runIf(process.env.TW_SECRET_KEY)(
143
143
  publisherAddress: "0xFD78F7E2dF2B8c3D5bff0413c96f3237500898B3",
144
144
  extensionData: "0x",
145
145
  });
146
- await sendTransaction({
146
+ await sendAndConfirmTransaction({
147
147
  transaction: uninstallTransaction,
148
148
  account: TEST_ACCOUNT_A,
149
149
  });
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = "5.31.0";
1
+ export const version = "5.31.1-nightly-cbb0bc2835bcfef62e69c18596063842f305f624-20240701000440";