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.
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/dist/types/version.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/extensions/prebuilts/deploy-modular-core.test.ts +7 -7
- package/src/version.ts +1 -1
package/dist/cjs/version.js
CHANGED
package/dist/cjs/version.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,wEAAwE,CAAC"}
|
package/dist/esm/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export const version = "5.31.
|
1
|
+
export const version = "5.31.1-nightly-cbb0bc2835bcfef62e69c18596063842f305f624-20240701000440";
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/dist/esm/version.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,wEAAwE,CAAC"}
|
package/dist/types/version.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "5.31.
|
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,
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,2EAA2E,CAAC"}
|
package/package.json
CHANGED
@@ -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 {
|
5
|
+
import { ZERO_ADDRESS } from "../../constants/addresses.js";
|
6
6
|
import { getContract } from "../../contract/contract.js";
|
7
|
-
import {
|
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
|
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(
|
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
|
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
|
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
|
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.
|
1
|
+
export const version = "5.31.1-nightly-cbb0bc2835bcfef62e69c18596063842f305f624-20240701000440";
|