New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@portkey/did

Package Overview
Dependencies
Maintainers
0
Versions
381
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@portkey/did - npm Package Compare versions

Comparing version 2.7.1-alpha.4 to 2.7.1

1

dist/commonjs/wallet.d.ts

@@ -30,2 +30,3 @@ /// <reference types="node" />

};
originChainId?: ChainId;
constructor({ accountProvider, storage, service, connectService, }: {

@@ -32,0 +33,0 @@ accountProvider: IAccountProvider<T>;

@@ -88,2 +88,3 @@ "use strict";

this.aaInfo = { accountInfo: { caAddress: status.caAddress, caHash: status.caHash } };
this.originChainId = chainId;
}

@@ -126,2 +127,3 @@ return status;

this.aaInfo = { accountInfo: { caAddress: status.caAddress, caHash: status.caHash } };
this.originChainId = chainId;
this.caInfo[chainId] = { caAddress: status.caAddress, caHash: status.caHash };

@@ -349,2 +351,3 @@ }

aaInfo: this.aaInfo,
originChainId: this.originChainId,
});

@@ -364,3 +367,3 @@ const aesStr = utils_1.aes.encrypt(data, password);

if (data) {
const { aesPrivateKey, caInfo, accountInfo, aaInfo } = JSON.parse(data);
const { aesPrivateKey, caInfo, accountInfo, aaInfo, originChainId } = JSON.parse(data);
const privateKey = utils_1.aes.decrypt(aesPrivateKey, password);

@@ -372,2 +375,3 @@ if (aesPrivateKey && privateKey) {

this.aaInfo = aaInfo || {};
this.originChainId = originChainId;
}

@@ -374,0 +378,0 @@ }

@@ -30,2 +30,3 @@ /// <reference types="node" />

};
originChainId?: ChainId;
constructor({ accountProvider, storage, service, connectService, }: {

@@ -32,0 +33,0 @@ accountProvider: IAccountProvider<T>;

@@ -82,2 +82,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

this.aaInfo = { accountInfo: { caAddress: status.caAddress, caHash: status.caHash } };
this.originChainId = chainId;
}

@@ -120,2 +121,3 @@ return status;

this.aaInfo = { accountInfo: { caAddress: status.caAddress, caHash: status.caHash } };
this.originChainId = chainId;
this.caInfo[chainId] = { caAddress: status.caAddress, caHash: status.caHash };

@@ -343,2 +345,3 @@ }

aaInfo: this.aaInfo,
originChainId: this.originChainId,
});

@@ -358,3 +361,3 @@ const aesStr = aes.encrypt(data, password);

if (data) {
const { aesPrivateKey, caInfo, accountInfo, aaInfo } = JSON.parse(data);
const { aesPrivateKey, caInfo, accountInfo, aaInfo, originChainId } = JSON.parse(data);
const privateKey = aes.decrypt(aesPrivateKey, password);

@@ -366,2 +369,3 @@ if (aesPrivateKey && privateKey) {

this.aaInfo = aaInfo || {};
this.originChainId = originChainId;
}

@@ -368,0 +372,0 @@ }

@@ -30,2 +30,3 @@ /// <reference types="node" />

};
originChainId?: ChainId;
constructor({ accountProvider, storage, service, connectService, }: {

@@ -32,0 +33,0 @@ accountProvider: IAccountProvider<T>;

18

package.json
{
"name": "@portkey/did",
"version": "2.7.1-alpha.4",
"version": "2.7.1",
"description": "",

@@ -44,9 +44,9 @@ "main": "./dist/commonjs/index.js",

"dependencies": {
"@portkey/accounts": "^2.7.1-alpha.4",
"@portkey/contracts": "^2.7.1-alpha.4",
"@portkey/graphql": "^2.7.1-alpha.4",
"@portkey/request": "^2.7.1-alpha.4",
"@portkey/services": "^2.7.1-alpha.4",
"@portkey/types": "^2.7.1-alpha.4",
"@portkey/utils": "^2.7.1-alpha.4"
"@portkey/accounts": "^2.7.1",
"@portkey/contracts": "^2.7.1",
"@portkey/graphql": "^2.7.1",
"@portkey/request": "^2.7.1",
"@portkey/services": "^2.7.1",
"@portkey/types": "^2.7.1",
"@portkey/utils": "^2.7.1"
},

@@ -60,3 +60,3 @@ "peerDependencies": {

},
"gitHead": "c4cceacb23f96ca1ec317068d8aa75f55d27f7c8"
"gitHead": "c628a91c32e318577b722a07b0ef38238674383a"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc