@scallop-io/sui-package-kit
Advanced tools
Comparing version 0.35.1 to 0.35.2
@@ -49,2 +49,3 @@ "use strict"; | ||
upgradeCapId: "", | ||
publisherId: void 0, | ||
created: [] | ||
@@ -56,2 +57,4 @@ }; | ||
parseRes.upgradeCapId = change.objectId; | ||
} else if (change.type === "created" && change.objectType.endsWith("package::Publisher")) { | ||
parseRes.publisherId = change.objectId; | ||
} else if (change.type === "published") { | ||
@@ -58,0 +61,0 @@ parseRes.packageId = change.packageId; |
@@ -49,2 +49,3 @@ "use strict"; | ||
upgradeCapId: "", | ||
publisherId: void 0, | ||
created: [] | ||
@@ -56,2 +57,4 @@ }; | ||
parseRes.upgradeCapId = change.objectId; | ||
} else if (change.type === "created" && change.objectType.endsWith("package::Publisher")) { | ||
parseRes.publisherId = change.objectId; | ||
} else if (change.type === "published") { | ||
@@ -58,0 +61,0 @@ parseRes.packageId = change.packageId; |
@@ -5,2 +5,3 @@ import { SuiTransactionBlockResponse } from "@mysten/sui.js"; | ||
upgradeCapId: string; | ||
publisherId: string | undefined; | ||
created: { | ||
@@ -7,0 +8,0 @@ type: string; |
{ | ||
"name": "@scallop-io/sui-package-kit", | ||
"version": "0.35.1", | ||
"version": "0.35.2", | ||
"description": "Tookit for publish/upgrade/build SUI packages", | ||
@@ -50,3 +50,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"@scallop-io/sui-kit": "^0.35.2", | ||
"@scallop-io/sui-kit": "^0.35.3", | ||
"@types/node": "^20.1.5", | ||
@@ -53,0 +53,0 @@ "@types/tmp": "^0.2.3", |
@@ -9,2 +9,3 @@ // @ts-nocheck | ||
upgradeCapId: '', | ||
publisherId: undefined as string | undefined, | ||
created: [] as { type: string; objectId: string, owner: string }[], | ||
@@ -16,2 +17,4 @@ } | ||
parseRes.upgradeCapId = change.objectId; | ||
} else if (change.type === 'created' && change.objectType.endsWith('package::Publisher')) { | ||
parseRes.publisherId = change.objectId; | ||
} else if (change.type === 'published') { | ||
@@ -18,0 +21,0 @@ parseRes.packageId = change.packageId; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
186532
2768