Skip to content

Releases: Moonsong-Labs/moonwall

@moonwall/cli@0.5.16

12 May 16:50
c1085d4
Compare
Choose a tag to compare

Patch Changes

  • 881b0e3: Added Viem as provider type

@moonwall/util@0.5.15

11 May 16:06
7d36d49
Compare
Choose a tag to compare

Patch Changes

  • 7e3ed8c: Removed pointless logging spam

@moonwall/util@0.5.14

11 May 09:36
3bea809
Compare
Choose a tag to compare

Patch Changes

  • be3aff0: Added custom RPC support

    #105

    As described here we can now added custom RPC methods in the moonwall.config.json file.

    This can be done by adding the Module and Method details to the provider config as specified in connections:

    "connections": [
            {
              "name": "para",
              "type": "moon",
              "endpoints": ["ws://127.0.0.1:9944"],
              "rpc": {
                "moon": {
                  "isTxFinalized": {
                    "description": "Just a test method",
                    "params": [
                      {
                        "name": "txHash",
                        "type": "Hash"
                      }
                    ],
                    "type": "bool"
                  }
                }
              }
            }
          ]
    

    ℹ️ Whilst this allows you to send RPC commands via the API, it will not automatically decorate the API in typescript, and will give you errors. Use // @typescript-expect-error to stop in-editor errors until a proper api-augment package is developed for your project.
    ⚠️ Even if you define a custom method, it will only be callable if it is being returned in the list by api.rpc.rpc.methods() which is the list of known RPCs the node exposes.

  • b872b17: Upgrades
    Fixes for:

@moonwall/cli@0.5.15

11 May 16:05
7d36d49
Compare
Choose a tag to compare

Patch Changes

  • 7e3ed8c: Removed pointless logging spam
  • Updated dependencies [7e3ed8c]
    • @moonwall/util@0.5.15

@moonwall/cli@0.5.14

11 May 09:36
3bea809
Compare
Choose a tag to compare

Patch Changes

  • be3aff0: Added custom RPC support

    #105

    As described here we can now added custom RPC methods in the moonwall.config.json file.

    This can be done by adding the Module and Method details to the provider config as specified in connections:

    "connections": [
            {
              "name": "para",
              "type": "moon",
              "endpoints": ["ws://127.0.0.1:9944"],
              "rpc": {
                "moon": {
                  "isTxFinalized": {
                    "description": "Just a test method",
                    "params": [
                      {
                        "name": "txHash",
                        "type": "Hash"
                      }
                    ],
                    "type": "bool"
                  }
                }
              }
            }
          ]
    

    ℹ️ Whilst this allows you to send RPC commands via the API, it will not automatically decorate the API in typescript, and will give you errors. Use // @typescript-expect-error to stop in-editor errors until a proper api-augment package is developed for your project.
    ⚠️ Even if you define a custom method, it will only be callable if it is being returned in the list by api.rpc.rpc.methods() which is the list of known RPCs the node exposes.

  • b872b17: Upgrades
    Fixes for:

  • Updated dependencies [be3aff0]

  • Updated dependencies [b872b17]

    • @moonwall/util@0.5.14

@moonwall/util@0.5.13

09 May 13:51
93cd25e
Compare
Choose a tag to compare

Patch Changes

@moonwall/cli@0.5.13

09 May 13:51
93cd25e
Compare
Choose a tag to compare

Patch Changes

@moonwall/util@0.5.9

05 May 08:56
5ba0b49
Compare
Choose a tag to compare

Patch Changes

  • 0686a87: added blockCheck skip for zombie tests

@moonwall/util@0.5.8

05 May 08:21
2444cfc
Compare
Choose a tag to compare

Patch Changes

@moonwall/util@0.5.10

05 May 14:04
7bf4528
Compare
Choose a tag to compare

Patch Changes

  • a9314cf: removed annoying logging lines