polyapi 0.1.13-dev → 0.1.14

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.
@@ -29,7 +29,7 @@ const webhookHandles = [
29
29
  {{#if context}}
30
30
  ['{{context}}.{{name}}', '{{id}}'],
31
31
  {{else}}
32
- ['{{alias}}', '{{id}}'],
32
+ ['{{name}}', '{{id}}'],
33
33
  {{/if}}
34
34
  {{/each}}
35
35
  ];
@@ -10,10 +10,10 @@ declare module "./index" {
10
10
  {{name}}: {{interfaceName}};
11
11
  {{/each}}
12
12
  {{#each functions}}
13
- {{name}}: ({{#each arguments}}{{name}}: {{type}}{{#unless @last}}, {{/unless}}{{/each}}) => {{{returnType}}};
13
+ {{name}}({{#each arguments}}{{name}}: {{type}}{{#unless @last}}, {{/unless}}{{/each}}): {{{returnType}}};
14
14
  {{/each}}
15
15
  {{#each webhookHandles}}
16
- {{name}}: (callback: (event: {{{eventType}}}) => any) => UnregisterWebhookEventListenerType;
16
+ {{name}}(callback: (event: {{{eventType}}}) => any): UnregisterWebhookEventListenerType;
17
17
  {{/each}}
18
18
  }
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polyapi",
3
- "version": "0.1.13-dev",
3
+ "version": "0.1.14",
4
4
  "description": "Poly is a CLI tool to help you create and manage your Poly definitions.",
5
5
  "license": "MIT",
6
6
  "repository": {