@dfinity/assets
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -378,5 +378,2 @@ "use strict"; | ||
} | ||
const replicaTime = agent.replicaTime | ||
? agent.replicaTime | ||
: undefined; | ||
const cert = await agent_1.Certificate.create({ | ||
@@ -386,3 +383,2 @@ certificate: new Uint8Array(certificate), | ||
canisterId, | ||
certTime: replicaTime, | ||
}).catch(() => Promise.resolve()); | ||
@@ -389,0 +385,0 @@ if (!cert) { |
@@ -348,5 +348,2 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
} | ||
const replicaTime = agent.replicaTime | ||
? agent.replicaTime | ||
: undefined; | ||
const cert = await Certificate.create({ | ||
@@ -356,3 +353,2 @@ certificate: new Uint8Array(certificate), | ||
canisterId, | ||
certTime: replicaTime, | ||
}).catch(() => Promise.resolve()); | ||
@@ -359,0 +355,0 @@ if (!cert) { |
{ | ||
"name": "@dfinity/assets", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"author": "DFINITY Stiftung <sdk@dfinity.org>", | ||
@@ -52,4 +52,4 @@ "license": "Apache-2.0", | ||
"peerDependencies": { | ||
"@dfinity/agent": "^2.1.1", | ||
"@dfinity/principal": "^2.1.1", | ||
"@dfinity/agent": "^2.1.2", | ||
"@dfinity/principal": "^2.1.2", | ||
"@noble/hashes": "^1.3.1" | ||
@@ -56,0 +56,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
323164
2326