@shapeshiftoss/types 8.3.1 → 8.3.3

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/utility.d.ts CHANGED
@@ -21,10 +21,5 @@ declare type UnionMerge<T> = Pick<UnionMapping<T>, keyof T> & Partial<UnionMappi
21
21
  export declare type ChainSpecific<T, M> = UnionMerge<T extends unknown ? (T extends keyof M ? {
22
22
  chainSpecific: M[T];
23
23
  } : undefined) : never>;
24
- /** Adds all possible values of union(T1) as a nested object under a `chainSpecific` && union(T2) as a nested object under a `swapperSpecific` key */
25
- export declare type ChainAndSwapperSpecific<T1, M1, T2, M2> = UnionMerge<T1 extends unknown ? (T1 extends keyof M1 ? {
26
- chainSpecific: M1[T1];
27
- } : undefined) : never> & UnionMerge<T2 extends unknown ? (T2 extends keyof M2 ? {
28
- swapperSpecific: M2[T2];
29
- } : undefined) : never>;
24
+ export declare type PartialRecord<K extends keyof any, V> = Partial<Record<K, V>>;
30
25
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/types",
3
- "version": "8.3.1",
3
+ "version": "8.3.3",
4
4
  "description": "Common types shared across packages",
5
5
  "repository": "https://github.com/shapeshift/lib",
6
6
  "license": "MIT",
@@ -20,8 +20,5 @@
20
20
  "prepare": "yarn build",
21
21
  "test": "jest test",
22
22
  "type-check": "tsc --project ./tsconfig.build.json --noEmit"
23
- },
24
- "devDependencies": {
25
- "@shapeshiftoss/hdwallet-core": "^1.33.0"
26
23
  }
27
24
  }