@shipload/sdk 2.0.0-rc8 → 2.0.0-rc9

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shipload/sdk",
3
3
  "description": "SDKs for Shipload",
4
- "version": "2.0.0-rc8",
4
+ "version": "2.0.0-rc9",
5
5
  "homepage": "https://github.com/shipload/sdk",
6
6
  "license": "MIT",
7
7
  "main": "lib/shipload.js",
@@ -16,7 +16,7 @@
16
16
  "prepare": "make"
17
17
  },
18
18
  "dependencies": {
19
- "@wharfkit/antelope": "^1.1.1",
19
+ "@wharfkit/antelope": "^1.2.0",
20
20
  "@wharfkit/contract": "^1.2.1",
21
21
  "@wharfkit/session": "^1.3.1",
22
22
  "tslib": "^2.1.0"
@@ -56,8 +56,9 @@
56
56
  "tsconfig-paths": "^4.1.1",
57
57
  "typedoc": "^0.23.14",
58
58
  "typedoc-plugin-mermaid": "^1.10.0",
59
- "typescript": "^4.1.2",
60
- "yarn-deduplicate": "^6.0.2"
59
+ "typescript": "^4.1.2"
61
60
  },
62
- "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
61
+ "overrides": {
62
+ "@wharfkit/antelope": "1.2.0"
63
+ }
63
64
  }
@@ -1,8 +1,9 @@
1
- export const ITEM_ENGINE_T1 = 10006
2
- export const ITEM_GENERATOR_T1 = 10007
3
- export const ITEM_EXTRACTOR_T1 = 10014
4
- export const ITEM_LOADER_T1 = 10015
5
- export const ITEM_MANUFACTURING_T1 = 10016
1
+ export const ITEM_ENGINE_T1 = 10100
2
+ export const ITEM_GENERATOR_T1 = 10101
3
+ export const ITEM_EXTRACTOR_T1 = 10102
4
+ export const ITEM_LOADER_T1 = 10103
5
+ export const ITEM_MANUFACTURING_T1 = 10104
6
+ export const ITEM_STORAGE_T1 = 10105
6
7
 
7
8
  export const MODULE_ANY = 0
8
9
  export const MODULE_ENGINE = 1
@@ -12,6 +13,7 @@ export const MODULE_LOADER = 4
12
13
  export const MODULE_WARP = 5
13
14
  export const MODULE_CRAFTER = 6
14
15
  export const MODULE_LAUNCHER = 7
16
+ export const MODULE_STORAGE = 8
15
17
 
16
18
  export interface CargoSeed {
17
19
  itemId: number
@@ -39,6 +41,8 @@ export function getModuleCapabilityType(itemId: number): number {
39
41
  return MODULE_LOADER
40
42
  case ITEM_MANUFACTURING_T1:
41
43
  return MODULE_CRAFTER
44
+ case ITEM_STORAGE_T1:
45
+ return MODULE_STORAGE
42
46
  default:
43
47
  return 0xff
44
48
  }