@bloks/link-session-manager
Advanced tools
Comparing version 0.2.656 to 0.2.657
/** | ||
* proton-link-session-manager v0.2.656 | ||
* proton-link-session-manager v0.2.657 | ||
* https://github.com/greymass/proton-link-session-manager | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* proton-link-session-manager v0.2.656 | ||
* proton-link-session-manager v0.2.657 | ||
* https://github.com/greymass/proton-link-session-manager | ||
@@ -327,3 +327,3 @@ * | ||
ProtonLinkSessionManagerSession.fromIdentityRequest = function (network, actor, permission, payload, options) { | ||
if (options === void 0) { options = {}; } | ||
if (options === void 0) { options = { scheme: signingRequest.DEFAULT_SCHEME }; } | ||
var requestOptions = tslib.__assign(tslib.__assign({}, options), { zlib: options.zlib || zlib__default['default'] }); | ||
@@ -330,0 +330,0 @@ var request = signingRequest.SigningRequest.from(payload, requestOptions); |
/** | ||
* proton-link-session-manager v0.2.656 | ||
* proton-link-session-manager v0.2.657 | ||
* https://github.com/greymass/proton-link-session-manager | ||
@@ -39,3 +39,3 @@ * | ||
import { v4 } from 'uuid'; | ||
import { SigningRequest } from '@bloks/signing-request'; | ||
import { DEFAULT_SCHEME, SigningRequest } from '@bloks/signing-request'; | ||
import zlib from 'pako'; | ||
@@ -277,3 +277,3 @@ import { AES_CBC } from '@jafri/asmcrypto.js'; | ||
} | ||
static fromIdentityRequest(network, actor, permission, payload, options = {}) { | ||
static fromIdentityRequest(network, actor, permission, payload, options = { scheme: DEFAULT_SCHEME }) { | ||
const requestOptions = { | ||
@@ -280,0 +280,0 @@ ...options, |
{ | ||
"name": "@bloks/link-session-manager", | ||
"description": "Session management for signature providers when receiving requests using the Anchor Link protocol", | ||
"version": "0.2.656", | ||
"version": "0.2.657", | ||
"homepage": "https://github.com/greymass/proton-link-session-manager", | ||
@@ -18,3 +18,3 @@ "license": "BSD-3-Clause", | ||
"dependencies": { | ||
"@bloks/signing-request": "^2.2.2-2", | ||
"@bloks/signing-request": "^2.2.2-3", | ||
"@greymass/eosio": "^0.4.7", | ||
@@ -21,0 +21,0 @@ "@jafri/asmcrypto.js": "^2.3.2", |
@@ -9,3 +9,3 @@ import { | ||
} from '@greymass/eosio' | ||
import {SigningRequest, SigningRequestEncodingOptions} from '@bloks/signing-request' | ||
import {DEFAULT_SCHEME, SigningRequest, SigningRequestEncodingOptions} from '@bloks/signing-request' | ||
import zlib from 'pako' | ||
@@ -51,3 +51,3 @@ | ||
payload: string, | ||
options: SigningRequestEncodingOptions = {} | ||
options: SigningRequestEncodingOptions = {scheme: DEFAULT_SCHEME} | ||
) { | ||
@@ -54,0 +54,0 @@ const requestOptions = { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
96128