@shipstatic/types 0.3.4 → 0.3.5

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/index.d.ts CHANGED
@@ -288,6 +288,7 @@ export declare const AuthMethod: {
288
288
  readonly JWT: "jwt";
289
289
  readonly API_KEY: "apiKey";
290
290
  readonly TOKEN: "token";
291
+ readonly WEBHOOK: "webhook";
291
292
  };
292
293
  export type AuthMethodType = typeof AuthMethod[keyof typeof AuthMethod];
293
294
  export declare const DEPLOYMENT_CONFIG_FILENAME = "ship.json";
package/dist/index.js CHANGED
@@ -193,7 +193,8 @@ export const DEPLOY_TOKEN_TOTAL_LENGTH = DEPLOY_TOKEN_PREFIX.length + DEPLOY_TOK
193
193
  export const AuthMethod = {
194
194
  JWT: 'jwt',
195
195
  API_KEY: 'apiKey',
196
- TOKEN: 'token'
196
+ TOKEN: 'token',
197
+ WEBHOOK: 'webhook'
197
198
  };
198
199
  // Deployment Configuration
199
200
  export const DEPLOYMENT_CONFIG_FILENAME = 'ship.json';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/types",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Shared types for Shipstatic platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -451,7 +451,8 @@ export const DEPLOY_TOKEN_TOTAL_LENGTH = DEPLOY_TOKEN_PREFIX.length + DEPLOY_TOK
451
451
  export const AuthMethod = {
452
452
  JWT: 'jwt',
453
453
  API_KEY: 'apiKey',
454
- TOKEN: 'token'
454
+ TOKEN: 'token',
455
+ WEBHOOK: 'webhook'
455
456
  } as const;
456
457
 
457
458
  export type AuthMethodType = typeof AuthMethod[keyof typeof AuthMethod];