@latticexyz/world-module-callwithsignature 2.2.18-2762cefb93e90632e0b25e11d0238b5998852f8b → 2.2.18-318924725246340b208d3fbee8793314686f1759

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.
Files changed (36) hide show
  1. package/dist/internal.js +13 -1
  2. package/dist/internal.js.map +1 -1
  3. package/dist/mud.config.js +16 -1
  4. package/dist/mud.config.js.map +1 -1
  5. package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
  6. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
  7. package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
  8. package/out/CallWithSignatureModule.sol/CallWithSignatureModule.json +1 -1
  9. package/out/CallWithSignatureModule.t.sol/CallWithSignatureModuleTest.json +1 -1
  10. package/out/CallWithSignatureSystem.sol/CallWithSignatureSystem.json +1 -1
  11. package/out/Delegation.sol/Delegation.json +1 -1
  12. package/out/DelegationControl.sol/DelegationControl.json +1 -1
  13. package/out/DelegationControlMock.sol/DelegationControlMock.json +1 -1
  14. package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
  15. package/out/IWorld.sol/IWorld.json +1 -1
  16. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
  17. package/out/InitModule.sol/InitModule.json +1 -1
  18. package/out/Module.sol/Module.json +1 -1
  19. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
  20. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
  21. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
  22. package/out/System.sol/System.json +1 -1
  23. package/out/SystemCall.sol/SystemCall.json +1 -1
  24. package/out/World.sol/World.json +1 -1
  25. package/out/World.t.sol/EchoSystemHook.json +1 -1
  26. package/out/World.t.sol/IWorldTestSystem.json +1 -1
  27. package/out/World.t.sol/PayableFallbackSystem.json +1 -1
  28. package/out/World.t.sol/RevertSystemHook.json +1 -1
  29. package/out/World.t.sol/WorldTest.json +1 -1
  30. package/out/World.t.sol/WorldTestSystem.json +1 -1
  31. package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
  32. package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
  33. package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
  34. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
  35. package/out/build-info/{306c60bc5d3442ad78ed6293bddbefdd.json → c6e22fa2c4ebdfa2aaa6725034837deb.json} +1 -1
  36. package/package.json +6 -6
package/dist/internal.js CHANGED
@@ -1,2 +1,14 @@
1
- var e={Call:[{name:"signer",type:"address"},{name:"systemNamespace",type:"string"},{name:"systemName",type:"string"},{name:"callData",type:"bytes"},{name:"nonce",type:"uint256"}]};export{e as callWithSignatureTypes};
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
@@ -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,IAAMA,EAAyB,CACpC,KAAM,CACJ,CAAE,KAAM,SAAU,KAAM,SAAU,EAClC,CAAE,KAAM,kBAAmB,KAAM,QAAS,EAC1C,CAAE,KAAM,aAAc,KAAM,QAAS,EACrC,CAAE,KAAM,WAAY,KAAM,OAAQ,EAClC,CAAE,KAAM,QAAS,KAAM,SAAU,CACnC,CACF","names":["callWithSignatureTypes"]}
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":[]}
@@ -1,2 +1,17 @@
1
- import{defineWorld as e}from"@latticexyz/world";var r=e({userTypes:{ResourceId:{filePath:"@latticexyz/store/src/ResourceId.sol",type:"bytes32"}},tables:{CallWithSignatureNonces:{schema:{signer:"address",nonce:"uint256"},key:["signer"]}}});export{r as default};
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
@@ -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,OAAS,eAAAA,MAAmB,oBAE5B,IAAOC,EAAQD,EAAY,CACzB,UAAW,CACT,WAAY,CAAE,SAAU,uCAAwC,KAAM,SAAU,CAClF,EACA,OAAQ,CACN,wBAAyB,CACvB,OAAQ,CAAE,OAAQ,UAAW,MAAO,SAAU,EAC9C,IAAK,CAAC,QAAQ,CAChB,CACF,CACF,CAAC","names":["defineWorld","mud_config_default"]}
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":[]}