@identity.com/cryptid-core
Advanced tools
Comparing version 0.3.0-alpha.8 to 0.3.0-alpha.9
@@ -37,3 +37,3 @@ "use strict"; | ||
static createFromDID(did, signer, middleware, options) { | ||
const index = options.accountIndex || 1; // 0 is reserved for the default (generative) cryptid | ||
const index = options.accountIndex === undefined ? 1 : options.accountIndex; // 0 is reserved for the default (generative) cryptid | ||
const didAccount = (0, did_1.didToPDA)(did); | ||
@@ -40,0 +40,0 @@ const [address, bump] = (0, cryptid_2.getCryptidAccountAddress)(didAccount, index); |
@@ -5,3 +5,3 @@ "use strict"; | ||
const web3_js_1 = require("@solana/web3.js"); | ||
exports.CRYPTID_PROGRAM = new web3_js_1.PublicKey("cry484buH1TnYCcegsogRzJ1tbhjeDLZC7vjRvHzaku"); | ||
exports.CRYPTID_PROGRAM = new web3_js_1.PublicKey("cryptJTh61jY5kbUmBEXyc86tBUyueBDrLuNSZWmUcs"); | ||
//# sourceMappingURL=constants.js.map |
{ | ||
"name": "@identity.com/cryptid-core", | ||
"version": "0.3.0-alpha.8", | ||
"version": "0.3.0-alpha.9", | ||
"scripts": { | ||
@@ -16,3 +16,3 @@ "clean": "rimraf dist", | ||
"dependencies": { | ||
"@identity.com/cryptid-idl": "0.3.0-alpha.8", | ||
"@identity.com/cryptid-idl": "0.3.0-alpha.9", | ||
"@identity.com/sol-did-client": "^3.1.0", | ||
@@ -19,0 +19,0 @@ "@project-serum/anchor": "^0.25.0", |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
95078
1
+ Added@identity.com/cryptid-idl@0.3.0-alpha.9(transitive)
- Removed@identity.com/cryptid-idl@0.3.0-alpha.8(transitive)