@voiceflow/api-sdk 3.1.1 → 3.2.2

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 (2) hide show
  1. package/build/types.d.ts +2 -1
  2. package/package.json +4 -4
package/build/types.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- export declare type ArrayElement<A> = A extends readonly (infer T)[] ? T : never;
1
+ /** @deprecated Use `T[number]` instead of `ArrayElement<T>` */
2
+ export declare type ArrayElement<A> = A extends ArrayLike<unknown> ? A[number] : never;
2
3
  export declare type BaseSchema = Record<string, any>;
3
4
  export declare type Flatten<T> = T extends infer U ? {
4
5
  [K in keyof U]: U[K];
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@voiceflow/api-sdk",
3
3
  "description": "wrapper for creator-api",
4
- "version": "3.1.1",
4
+ "version": "3.2.2",
5
5
  "author": "Voiceflow",
6
6
  "bugs": {
7
7
  "url": "https://github.com/voiceflow/libs/issues"
8
8
  },
9
9
  "dependencies": {
10
- "@voiceflow/base-types": "^2.1.3",
11
- "@voiceflow/common": "6.9.3",
10
+ "@voiceflow/base-types": "^2.2.0",
11
+ "@voiceflow/common": "^7.8.1",
12
12
  "axios": "^0.21.1",
13
13
  "jwt-decode": "^3.1.2",
14
14
  "superstruct": "^0.10.12"
@@ -58,5 +58,5 @@
58
58
  "test:unit": "NODE_ENV=test nyc --report-dir=nyc_coverage_unit ts-mocha --paths --config ./config/tests/.mocharc.json 'tests/**/*.unit.ts'"
59
59
  },
60
60
  "types": "build/index.d.ts",
61
- "gitHead": "a40f27fa452ece31f25a3d78a700f9fe6e94e0a8"
61
+ "gitHead": "81dac0e3a8caab97cb20326d62815d81045f89b3"
62
62
  }