@latticexyz/world-module-callwithsignature 2.2.18-f0433092876e2ac9b5b12cd0ecae9c120a2d0368 → 2.2.18
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/internal.js +13 -1
- package/dist/internal.js.map +1 -1
- package/dist/mud.config.js +16 -1
- package/dist/mud.config.js.map +1 -1
- package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
- package/out/CallWithSignatureModule.sol/CallWithSignatureModule.json +1 -1
- package/out/CallWithSignatureModule.t.sol/CallWithSignatureModuleTest.json +1 -1
- package/out/CallWithSignatureSystem.sol/CallWithSignatureSystem.json +1 -1
- package/out/Delegation.sol/Delegation.json +1 -1
- package/out/DelegationControl.sol/DelegationControl.json +1 -1
- package/out/DelegationControlMock.sol/DelegationControlMock.json +1 -1
- package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
- package/out/IWorld.sol/IWorld.json +1 -1
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
- package/out/InitModule.sol/InitModule.json +1 -1
- package/out/Module.sol/Module.json +1 -1
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
- package/out/System.sol/System.json +1 -1
- package/out/SystemCall.sol/SystemCall.json +1 -1
- package/out/World.sol/World.json +1 -1
- package/out/World.t.sol/EchoSystemHook.json +1 -1
- package/out/World.t.sol/IWorldTestSystem.json +1 -1
- package/out/World.t.sol/PayableFallbackSystem.json +1 -1
- package/out/World.t.sol/RevertSystemHook.json +1 -1
- package/out/World.t.sol/WorldTest.json +1 -1
- package/out/World.t.sol/WorldTestSystem.json +1 -1
- package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
- package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
- package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
- package/out/build-info/{306c60bc5d3442ad78ed6293bddbefdd.json → c6e22fa2c4ebdfa2aaa6725034837deb.json} +1 -1
- package/package.json +6 -6
package/dist/internal.js
CHANGED
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
// ts/callWithSignatureTypes.ts
|
|
2
|
+
var callWithSignatureTypes = {
|
|
3
|
+
Call: [
|
|
4
|
+
{ name: "signer", type: "address" },
|
|
5
|
+
{ name: "systemNamespace", type: "string" },
|
|
6
|
+
{ name: "systemName", type: "string" },
|
|
7
|
+
{ name: "callData", type: "bytes" },
|
|
8
|
+
{ name: "nonce", type: "uint256" }
|
|
9
|
+
]
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
callWithSignatureTypes
|
|
13
|
+
};
|
|
2
14
|
//# sourceMappingURL=internal.js.map
|
package/dist/internal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../ts/callWithSignatureTypes.ts"],"sourcesContent":["// Follows https://viem.sh/docs/actions/wallet/signTypedData#usage\n\n// TODO: add tests to keep this aligned with `CALL_TYPEHASH` in `getSignedMessageHash.sol`\nexport const callWithSignatureTypes = {\n Call: [\n { name: \"signer\", type: \"address\" },\n { name: \"systemNamespace\", type: \"string\" },\n { name: \"systemName\", type: \"string\" },\n { name: \"callData\", type: \"bytes\" },\n { name: \"nonce\", type: \"uint256\" },\n ],\n} as const;\n"],"mappings":"AAGO,
|
|
1
|
+
{"version":3,"sources":["../ts/callWithSignatureTypes.ts"],"sourcesContent":["// Follows https://viem.sh/docs/actions/wallet/signTypedData#usage\n\n// TODO: add tests to keep this aligned with `CALL_TYPEHASH` in `getSignedMessageHash.sol`\nexport const callWithSignatureTypes = {\n Call: [\n { name: \"signer\", type: \"address\" },\n { name: \"systemNamespace\", type: \"string\" },\n { name: \"systemName\", type: \"string\" },\n { name: \"callData\", type: \"bytes\" },\n { name: \"nonce\", type: \"uint256\" },\n ],\n} as const;\n"],"mappings":";AAGO,IAAM,yBAAyB;AAAA,EACpC,MAAM;AAAA,IACJ,EAAE,MAAM,UAAU,MAAM,UAAU;AAAA,IAClC,EAAE,MAAM,mBAAmB,MAAM,SAAS;AAAA,IAC1C,EAAE,MAAM,cAAc,MAAM,SAAS;AAAA,IACrC,EAAE,MAAM,YAAY,MAAM,QAAQ;AAAA,IAClC,EAAE,MAAM,SAAS,MAAM,UAAU;AAAA,EACnC;AACF;","names":[]}
|
package/dist/mud.config.js
CHANGED
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
// mud.config.ts
|
|
2
|
+
import { defineWorld } from "@latticexyz/world";
|
|
3
|
+
var mud_config_default = defineWorld({
|
|
4
|
+
userTypes: {
|
|
5
|
+
ResourceId: { filePath: "@latticexyz/store/src/ResourceId.sol", type: "bytes32" }
|
|
6
|
+
},
|
|
7
|
+
tables: {
|
|
8
|
+
CallWithSignatureNonces: {
|
|
9
|
+
schema: { signer: "address", nonce: "uint256" },
|
|
10
|
+
key: ["signer"]
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
mud_config_default as default
|
|
16
|
+
};
|
|
2
17
|
//# sourceMappingURL=mud.config.js.map
|
package/dist/mud.config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../mud.config.ts"],"sourcesContent":["import { defineWorld } from \"@latticexyz/world\";\n\nexport default defineWorld({\n userTypes: {\n ResourceId: { filePath: \"@latticexyz/store/src/ResourceId.sol\", type: \"bytes32\" },\n },\n tables: {\n CallWithSignatureNonces: {\n schema: { signer: \"address\", nonce: \"uint256\" },\n key: [\"signer\"],\n },\n },\n});\n"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"sources":["../mud.config.ts"],"sourcesContent":["import { defineWorld } from \"@latticexyz/world\";\n\nexport default defineWorld({\n userTypes: {\n ResourceId: { filePath: \"@latticexyz/store/src/ResourceId.sol\", type: \"bytes32\" },\n },\n tables: {\n CallWithSignatureNonces: {\n schema: { signer: \"address\", nonce: \"uint256\" },\n key: [\"signer\"],\n },\n },\n});\n"],"mappings":";AAAA,SAAS,mBAAmB;AAE5B,IAAO,qBAAQ,YAAY;AAAA,EACzB,WAAW;AAAA,IACT,YAAY,EAAE,UAAU,wCAAwC,MAAM,UAAU;AAAA,EAClF;AAAA,EACA,QAAQ;AAAA,IACN,yBAAyB;AAAA,MACvB,QAAQ,EAAE,QAAQ,WAAW,OAAO,UAAU;AAAA,MAC9C,KAAK,CAAC,QAAQ;AAAA,IAChB;AAAA,EACF;AACF,CAAC;","names":[]}
|