Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dfinity/identity

Package Overview
Dependencies
Maintainers
10
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dfinity/identity - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

11

lib/cjs/identity/webauthn.js

@@ -89,5 +89,12 @@ "use strict";

}
return Object.assign(Object.assign({}, creds), {
return {
// do _not_ use ...creds here, as creds is not enumerable in all cases
id: creds.id,
response: creds.response,
type: creds.type,
authenticatorAttachment: creds.authenticatorAttachment,
getClientExtensionResults: creds.getClientExtensionResults,
// Some password managers will return a Uint8Array, so we ensure we return an ArrayBuffer.
rawId: (0, candid_1.bufFromBufLike)(creds.rawId) });
rawId: (0, candid_1.bufFromBufLike)(creds.rawId),
};
}

@@ -94,0 +101,0 @@ // See https://www.iana.org/assignments/cose/cose.xhtml#algorithms for a complete

@@ -82,5 +82,12 @@ import { SignIdentity, wrapDER, DER_COSE_OID, fromHex, toHex, } from '@dfinity/agent';

}
return Object.assign(Object.assign({}, creds), {
return {
// do _not_ use ...creds here, as creds is not enumerable in all cases
id: creds.id,
response: creds.response,
type: creds.type,
authenticatorAttachment: creds.authenticatorAttachment,
getClientExtensionResults: creds.getClientExtensionResults,
// Some password managers will return a Uint8Array, so we ensure we return an ArrayBuffer.
rawId: bufFromBufLike(creds.rawId) });
rawId: bufFromBufLike(creds.rawId),
};
}

@@ -87,0 +94,0 @@ // See https://www.iana.org/assignments/cose/cose.xhtml#algorithms for a complete

6

package.json
{
"name": "@dfinity/identity",
"version": "1.1.0",
"version": "1.1.1",
"author": "DFINITY Stiftung <sdk@dfinity.org>",

@@ -48,4 +48,4 @@ "license": "Apache-2.0",

"peerDependencies": {
"@dfinity/agent": "^1.1.0",
"@dfinity/principal": "^1.1.0",
"@dfinity/agent": "^1.1.1",
"@dfinity/principal": "^1.1.1",
"@peculiar/webcrypto": "^1.4.0"

@@ -52,0 +52,0 @@ },

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

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