@stacks/storage 3.3.0 → 3.5.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.js +210 -208
- package/dist/umd/index.js.map +1 -1
- package/package.json +4 -4
package/dist/umd/index.js
CHANGED
|
@@ -51325,7 +51325,7 @@ async function decryptPrivateKey(privateKey, hexedEncrypted) {
|
|
|
51325
51325
|
return decrypted;
|
|
51326
51326
|
}
|
|
51327
51327
|
}
|
|
51328
|
-
async function makeAuthResponse(privateKey, profile = {}, username = null, metadata, coreToken = null, appPrivateKey = null, expiresAt = (0,_stacks_common__WEBPACK_IMPORTED_MODULE_4__.nextMonth)().getTime(), transitPublicKey = null, hubUrl = null, blockstackAPIUrl = null, associationToken = null) {
|
|
51328
|
+
async function makeAuthResponse(privateKey, profile = {}, username = null, metadata, coreToken = null, appPrivateKey = null, expiresAt = (0,_stacks_common__WEBPACK_IMPORTED_MODULE_4__.nextMonth)().getTime(), transitPublicKey = null, hubUrl = null, blockstackAPIUrl = null, associationToken = null, appPrivateKeyFromWalletSalt = null) {
|
|
51329
51329
|
const publicKey = jsontokens__WEBPACK_IMPORTED_MODULE_1__.SECP256K1Client.derivePublicKey(privateKey);
|
|
51330
51330
|
const address = (0,_stacks_encryption__WEBPACK_IMPORTED_MODULE_2__.publicKeyToAddress)(publicKey);
|
|
51331
51331
|
let privateKeyPayload = appPrivateKey;
|
|
@@ -51355,6 +51355,7 @@ async function makeAuthResponse(privateKey, profile = {}, username = null, metad
|
|
|
51355
51355
|
iss: (0,_dids__WEBPACK_IMPORTED_MODULE_5__.makeDIDFromAddress)(address),
|
|
51356
51356
|
private_key: privateKeyPayload,
|
|
51357
51357
|
public_keys: [publicKey],
|
|
51358
|
+
appPrivateKeyFromWalletSalt,
|
|
51358
51359
|
profile,
|
|
51359
51360
|
username,
|
|
51360
51361
|
core_token: coreTokenPayload
|
|
@@ -51370,19 +51371,19 @@ async function makeAuthResponse(privateKey, profile = {}, username = null, metad
|
|
|
51370
51371
|
/*!************************!*\
|
|
51371
51372
|
!*** ./src/profile.ts ***!
|
|
51372
51373
|
\************************/
|
|
51373
|
-
/***/ ((__unused_webpack_module, __webpack_exports__,
|
|
51374
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __nested_webpack_require_444357__) => {
|
|
51374
51375
|
|
|
51375
51376
|
"use strict";
|
|
51376
|
-
|
|
51377
|
-
/* harmony export */
|
|
51377
|
+
__nested_webpack_require_444357__.r(__webpack_exports__);
|
|
51378
|
+
/* harmony export */ __nested_webpack_require_444357__.d(__webpack_exports__, {
|
|
51378
51379
|
/* harmony export */ "lookupProfile": () => (/* binding */ lookupProfile)
|
|
51379
51380
|
/* harmony export */ });
|
|
51380
|
-
/* harmony import */ var _stacks_profile__WEBPACK_IMPORTED_MODULE_2__ =
|
|
51381
|
-
/* harmony import */ var _stacks_profile__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/
|
|
51382
|
-
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_1__ =
|
|
51383
|
-
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/
|
|
51384
|
-
/* harmony import */ var _stacks_network__WEBPACK_IMPORTED_MODULE_0__ =
|
|
51385
|
-
/* harmony import */ var _stacks_network__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/
|
|
51381
|
+
/* harmony import */ var _stacks_profile__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_444357__(/*! @stacks/profile */ "../profile/dist/umd/index.js");
|
|
51382
|
+
/* harmony import */ var _stacks_profile__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__nested_webpack_require_444357__.n(_stacks_profile__WEBPACK_IMPORTED_MODULE_2__);
|
|
51383
|
+
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_444357__(/*! @stacks/common */ "../common/dist/umd/index.js");
|
|
51384
|
+
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__nested_webpack_require_444357__.n(_stacks_common__WEBPACK_IMPORTED_MODULE_1__);
|
|
51385
|
+
/* harmony import */ var _stacks_network__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_444357__(/*! @stacks/network */ "../network/dist/umd/index.js");
|
|
51386
|
+
/* harmony import */ var _stacks_network__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_444357__.n(_stacks_network__WEBPACK_IMPORTED_MODULE_0__);
|
|
51386
51387
|
|
|
51387
51388
|
|
|
51388
51389
|
|
|
@@ -51418,11 +51419,11 @@ function lookupProfile(lookupOptions) {
|
|
|
51418
51419
|
/*!**************************************!*\
|
|
51419
51420
|
!*** ./src/protocolEchoDetection.ts ***!
|
|
51420
51421
|
\**************************************/
|
|
51421
|
-
/***/ ((__unused_webpack_module, __webpack_exports__,
|
|
51422
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __nested_webpack_require_446948__) => {
|
|
51422
51423
|
|
|
51423
51424
|
"use strict";
|
|
51424
|
-
|
|
51425
|
-
/* harmony export */
|
|
51425
|
+
__nested_webpack_require_446948__.r(__webpack_exports__);
|
|
51426
|
+
/* harmony export */ __nested_webpack_require_446948__.d(__webpack_exports__, {
|
|
51426
51427
|
/* harmony export */ "protocolEchoReplyDetection": () => (/* binding */ protocolEchoReplyDetection)
|
|
51427
51428
|
/* harmony export */ });
|
|
51428
51429
|
const GLOBAL_DETECTION_CACHE_KEY = "_blockstackDidCheckEchoReply";
|
|
@@ -51477,19 +51478,19 @@ function protocolEchoReplyDetection() {
|
|
|
51477
51478
|
/*!*************************!*\
|
|
51478
51479
|
!*** ./src/provider.ts ***!
|
|
51479
51480
|
\*************************/
|
|
51480
|
-
/***/ ((__unused_webpack_module, __webpack_exports__,
|
|
51481
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __nested_webpack_require_448918__) => {
|
|
51481
51482
|
|
|
51482
51483
|
"use strict";
|
|
51483
|
-
|
|
51484
|
-
/* harmony export */
|
|
51484
|
+
__nested_webpack_require_448918__.r(__webpack_exports__);
|
|
51485
|
+
/* harmony export */ __nested_webpack_require_448918__.d(__webpack_exports__, {
|
|
51485
51486
|
/* harmony export */ "getAuthRequestFromURL": () => (/* binding */ getAuthRequestFromURL),
|
|
51486
51487
|
/* harmony export */ "fetchAppManifest": () => (/* binding */ fetchAppManifest)
|
|
51487
51488
|
/* harmony export */ });
|
|
51488
|
-
/* harmony import */ var query_string__WEBPACK_IMPORTED_MODULE_0__ =
|
|
51489
|
-
/* harmony import */ var jsontokens__WEBPACK_IMPORTED_MODULE_1__ =
|
|
51490
|
-
/* harmony import */ var jsontokens__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/
|
|
51491
|
-
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_2__ =
|
|
51492
|
-
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/
|
|
51489
|
+
/* harmony import */ var query_string__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_448918__(/*! query-string */ "../../node_modules/query-string/index.js");
|
|
51490
|
+
/* harmony import */ var jsontokens__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_448918__(/*! jsontokens */ "../../node_modules/jsontokens/lib/index.js");
|
|
51491
|
+
/* harmony import */ var jsontokens__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__nested_webpack_require_448918__.n(jsontokens__WEBPACK_IMPORTED_MODULE_1__);
|
|
51492
|
+
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_448918__(/*! @stacks/common */ "../common/dist/umd/index.js");
|
|
51493
|
+
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__nested_webpack_require_448918__.n(_stacks_common__WEBPACK_IMPORTED_MODULE_2__);
|
|
51493
51494
|
var __defProp = Object.defineProperty;
|
|
51494
51495
|
var __defProps = Object.defineProperties;
|
|
51495
51496
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
@@ -51555,15 +51556,15 @@ async function fetchAppManifest(authRequest) {
|
|
|
51555
51556
|
/*!****************************!*\
|
|
51556
51557
|
!*** ./src/sessionData.ts ***!
|
|
51557
51558
|
\****************************/
|
|
51558
|
-
/***/ ((__unused_webpack_module, __webpack_exports__,
|
|
51559
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __nested_webpack_require_452441__) => {
|
|
51559
51560
|
|
|
51560
51561
|
"use strict";
|
|
51561
|
-
|
|
51562
|
-
/* harmony export */
|
|
51562
|
+
__nested_webpack_require_452441__.r(__webpack_exports__);
|
|
51563
|
+
/* harmony export */ __nested_webpack_require_452441__.d(__webpack_exports__, {
|
|
51563
51564
|
/* harmony export */ "SessionData": () => (/* binding */ SessionData)
|
|
51564
51565
|
/* harmony export */ });
|
|
51565
|
-
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_0__ =
|
|
51566
|
-
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/
|
|
51566
|
+
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_452441__(/*! @stacks/common */ "../common/dist/umd/index.js");
|
|
51567
|
+
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_452441__.n(_stacks_common__WEBPACK_IMPORTED_MODULE_0__);
|
|
51567
51568
|
|
|
51568
51569
|
const SESSION_VERSION = "1.0.0";
|
|
51569
51570
|
class SessionData {
|
|
@@ -51597,19 +51598,19 @@ class SessionData {
|
|
|
51597
51598
|
/*!*****************************!*\
|
|
51598
51599
|
!*** ./src/sessionStore.ts ***!
|
|
51599
51600
|
\*****************************/
|
|
51600
|
-
/***/ ((__unused_webpack_module, __webpack_exports__,
|
|
51601
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __nested_webpack_require_453914__) => {
|
|
51601
51602
|
|
|
51602
51603
|
"use strict";
|
|
51603
|
-
|
|
51604
|
-
/* harmony export */
|
|
51604
|
+
__nested_webpack_require_453914__.r(__webpack_exports__);
|
|
51605
|
+
/* harmony export */ __nested_webpack_require_453914__.d(__webpack_exports__, {
|
|
51605
51606
|
/* harmony export */ "SessionDataStore": () => (/* binding */ SessionDataStore),
|
|
51606
51607
|
/* harmony export */ "InstanceDataStore": () => (/* binding */ InstanceDataStore),
|
|
51607
51608
|
/* harmony export */ "LocalStorageStore": () => (/* binding */ LocalStorageStore)
|
|
51608
51609
|
/* harmony export */ });
|
|
51609
|
-
/* harmony import */ var _sessionData__WEBPACK_IMPORTED_MODULE_0__ =
|
|
51610
|
-
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ =
|
|
51611
|
-
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_1__ =
|
|
51612
|
-
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/
|
|
51610
|
+
/* harmony import */ var _sessionData__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_453914__(/*! ./sessionData */ "./src/sessionData.ts");
|
|
51611
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_453914__(/*! ./constants */ "./src/constants.ts");
|
|
51612
|
+
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_453914__(/*! @stacks/common */ "../common/dist/umd/index.js");
|
|
51613
|
+
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__nested_webpack_require_453914__.n(_stacks_common__WEBPACK_IMPORTED_MODULE_1__);
|
|
51613
51614
|
|
|
51614
51615
|
|
|
51615
51616
|
|
|
@@ -51702,31 +51703,31 @@ class LocalStorageStore extends SessionDataStore {
|
|
|
51702
51703
|
/*!****************************!*\
|
|
51703
51704
|
!*** ./src/userSession.ts ***!
|
|
51704
51705
|
\****************************/
|
|
51705
|
-
/***/ ((__unused_webpack_module, __webpack_exports__,
|
|
51706
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __nested_webpack_require_457634__) => {
|
|
51706
51707
|
|
|
51707
51708
|
"use strict";
|
|
51708
|
-
|
|
51709
|
-
/* harmony export */
|
|
51709
|
+
__nested_webpack_require_457634__.r(__webpack_exports__);
|
|
51710
|
+
/* harmony export */ __nested_webpack_require_457634__.d(__webpack_exports__, {
|
|
51710
51711
|
/* harmony export */ "UserSession": () => (/* binding */ UserSession)
|
|
51711
51712
|
/* harmony export */ });
|
|
51712
|
-
/* harmony import */ var _appConfig__WEBPACK_IMPORTED_MODULE_2__ =
|
|
51713
|
-
/* harmony import */ var _sessionStore__WEBPACK_IMPORTED_MODULE_4__ =
|
|
51714
|
-
/* harmony import */ var jsontokens__WEBPACK_IMPORTED_MODULE_0__ =
|
|
51715
|
-
/* harmony import */ var jsontokens__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/
|
|
51716
|
-
/* harmony import */ var _verification__WEBPACK_IMPORTED_MODULE_9__ =
|
|
51717
|
-
/* harmony import */ var _messages__WEBPACK_IMPORTED_MODULE_5__ =
|
|
51718
|
-
/* harmony import */ var _stacks_encryption__WEBPACK_IMPORTED_MODULE_10__ =
|
|
51719
|
-
/* harmony import */ var _stacks_encryption__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/
|
|
51720
|
-
/* harmony import */ var _dids__WEBPACK_IMPORTED_MODULE_11__ =
|
|
51721
|
-
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_3__ =
|
|
51722
|
-
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/
|
|
51723
|
-
/* harmony import */ var _stacks_profile__WEBPACK_IMPORTED_MODULE_12__ =
|
|
51724
|
-
/* harmony import */ var _stacks_profile__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/
|
|
51725
|
-
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_8__ =
|
|
51726
|
-
/* harmony import */ var query_string__WEBPACK_IMPORTED_MODULE_1__ =
|
|
51727
|
-
/* harmony import */ var _stacks_network__WEBPACK_IMPORTED_MODULE_7__ =
|
|
51728
|
-
/* harmony import */ var _stacks_network__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/
|
|
51729
|
-
/* harmony import */ var _protocolEchoDetection__WEBPACK_IMPORTED_MODULE_6__ =
|
|
51713
|
+
/* harmony import */ var _appConfig__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_457634__(/*! ./appConfig */ "./src/appConfig.ts");
|
|
51714
|
+
/* harmony import */ var _sessionStore__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_457634__(/*! ./sessionStore */ "./src/sessionStore.ts");
|
|
51715
|
+
/* harmony import */ var jsontokens__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_457634__(/*! jsontokens */ "../../node_modules/jsontokens/lib/index.js");
|
|
51716
|
+
/* harmony import */ var jsontokens__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_457634__.n(jsontokens__WEBPACK_IMPORTED_MODULE_0__);
|
|
51717
|
+
/* harmony import */ var _verification__WEBPACK_IMPORTED_MODULE_9__ = __nested_webpack_require_457634__(/*! ./verification */ "./src/verification.ts");
|
|
51718
|
+
/* harmony import */ var _messages__WEBPACK_IMPORTED_MODULE_5__ = __nested_webpack_require_457634__(/*! ./messages */ "./src/messages.ts");
|
|
51719
|
+
/* harmony import */ var _stacks_encryption__WEBPACK_IMPORTED_MODULE_10__ = __nested_webpack_require_457634__(/*! @stacks/encryption */ "../encryption/dist/umd/index.js");
|
|
51720
|
+
/* harmony import */ var _stacks_encryption__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__nested_webpack_require_457634__.n(_stacks_encryption__WEBPACK_IMPORTED_MODULE_10__);
|
|
51721
|
+
/* harmony import */ var _dids__WEBPACK_IMPORTED_MODULE_11__ = __nested_webpack_require_457634__(/*! ./dids */ "./src/dids.ts");
|
|
51722
|
+
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_457634__(/*! @stacks/common */ "../common/dist/umd/index.js");
|
|
51723
|
+
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__nested_webpack_require_457634__.n(_stacks_common__WEBPACK_IMPORTED_MODULE_3__);
|
|
51724
|
+
/* harmony import */ var _stacks_profile__WEBPACK_IMPORTED_MODULE_12__ = __nested_webpack_require_457634__(/*! @stacks/profile */ "../profile/dist/umd/index.js");
|
|
51725
|
+
/* harmony import */ var _stacks_profile__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__nested_webpack_require_457634__.n(_stacks_profile__WEBPACK_IMPORTED_MODULE_12__);
|
|
51726
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_8__ = __nested_webpack_require_457634__(/*! ./constants */ "./src/constants.ts");
|
|
51727
|
+
/* harmony import */ var query_string__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_457634__(/*! query-string */ "../../node_modules/query-string/index.js");
|
|
51728
|
+
/* harmony import */ var _stacks_network__WEBPACK_IMPORTED_MODULE_7__ = __nested_webpack_require_457634__(/*! @stacks/network */ "../network/dist/umd/index.js");
|
|
51729
|
+
/* harmony import */ var _stacks_network__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__nested_webpack_require_457634__.n(_stacks_network__WEBPACK_IMPORTED_MODULE_7__);
|
|
51730
|
+
/* harmony import */ var _protocolEchoDetection__WEBPACK_IMPORTED_MODULE_6__ = __nested_webpack_require_457634__(/*! ./protocolEchoDetection */ "./src/protocolEchoDetection.ts");
|
|
51730
51731
|
|
|
51731
51732
|
|
|
51732
51733
|
|
|
@@ -51882,6 +51883,7 @@ class UserSession {
|
|
|
51882
51883
|
coreSessionToken,
|
|
51883
51884
|
authResponseToken,
|
|
51884
51885
|
hubUrl,
|
|
51886
|
+
appPrivateKeyFromWalletSalt: tokenPayload.appPrivateKeyFromWalletSalt,
|
|
51885
51887
|
coreNode: tokenPayload.blockstackAPIUrl,
|
|
51886
51888
|
gaiaAssociationToken
|
|
51887
51889
|
};
|
|
@@ -51940,11 +51942,11 @@ class UserSession {
|
|
|
51940
51942
|
/*!*****************************!*\
|
|
51941
51943
|
!*** ./src/verification.ts ***!
|
|
51942
51944
|
\*****************************/
|
|
51943
|
-
/***/ ((__unused_webpack_module, __webpack_exports__,
|
|
51945
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __nested_webpack_require_469952__) => {
|
|
51944
51946
|
|
|
51945
51947
|
"use strict";
|
|
51946
|
-
|
|
51947
|
-
/* harmony export */
|
|
51948
|
+
__nested_webpack_require_469952__.r(__webpack_exports__);
|
|
51949
|
+
/* harmony export */ __nested_webpack_require_469952__.d(__webpack_exports__, {
|
|
51948
51950
|
/* harmony export */ "doSignaturesMatchPublicKeys": () => (/* binding */ doSignaturesMatchPublicKeys),
|
|
51949
51951
|
/* harmony export */ "doPublicKeysMatchIssuer": () => (/* binding */ doPublicKeysMatchIssuer),
|
|
51950
51952
|
/* harmony export */ "doPublicKeysMatchUsername": () => (/* binding */ doPublicKeysMatchUsername),
|
|
@@ -51956,15 +51958,15 @@ __nested_webpack_require_469806__.r(__webpack_exports__);
|
|
|
51956
51958
|
/* harmony export */ "verifyAuthRequestAndLoadManifest": () => (/* binding */ verifyAuthRequestAndLoadManifest),
|
|
51957
51959
|
/* harmony export */ "verifyAuthResponse": () => (/* binding */ verifyAuthResponse)
|
|
51958
51960
|
/* harmony export */ });
|
|
51959
|
-
/* harmony import */ var jsontokens__WEBPACK_IMPORTED_MODULE_0__ =
|
|
51960
|
-
/* harmony import */ var jsontokens__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/
|
|
51961
|
-
/* harmony import */ var _dids__WEBPACK_IMPORTED_MODULE_2__ =
|
|
51962
|
-
/* harmony import */ var _stacks_encryption__WEBPACK_IMPORTED_MODULE_3__ =
|
|
51963
|
-
/* harmony import */ var _stacks_encryption__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/
|
|
51964
|
-
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_4__ =
|
|
51965
|
-
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/
|
|
51966
|
-
/* harmony import */ var _provider__WEBPACK_IMPORTED_MODULE_5__ =
|
|
51967
|
-
/* harmony import */ var c32check__WEBPACK_IMPORTED_MODULE_1__ =
|
|
51961
|
+
/* harmony import */ var jsontokens__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_469952__(/*! jsontokens */ "../../node_modules/jsontokens/lib/index.js");
|
|
51962
|
+
/* harmony import */ var jsontokens__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_469952__.n(jsontokens__WEBPACK_IMPORTED_MODULE_0__);
|
|
51963
|
+
/* harmony import */ var _dids__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_469952__(/*! ./dids */ "./src/dids.ts");
|
|
51964
|
+
/* harmony import */ var _stacks_encryption__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_469952__(/*! @stacks/encryption */ "../encryption/dist/umd/index.js");
|
|
51965
|
+
/* harmony import */ var _stacks_encryption__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__nested_webpack_require_469952__.n(_stacks_encryption__WEBPACK_IMPORTED_MODULE_3__);
|
|
51966
|
+
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_469952__(/*! @stacks/common */ "../common/dist/umd/index.js");
|
|
51967
|
+
/* harmony import */ var _stacks_common__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__nested_webpack_require_469952__.n(_stacks_common__WEBPACK_IMPORTED_MODULE_4__);
|
|
51968
|
+
/* harmony import */ var _provider__WEBPACK_IMPORTED_MODULE_5__ = __nested_webpack_require_469952__(/*! ./provider */ "./src/provider.ts");
|
|
51969
|
+
/* harmony import */ var c32check__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_469952__(/*! c32check */ "../../node_modules/c32check/lib/index.js");
|
|
51968
51970
|
|
|
51969
51971
|
|
|
51970
51972
|
|
|
@@ -52168,15 +52170,15 @@ module.exports = function (obj, predicate) {
|
|
|
52168
52170
|
/*!**********************************************!*\
|
|
52169
52171
|
!*** ../../node_modules/hash.js/lib/hash.js ***!
|
|
52170
52172
|
\**********************************************/
|
|
52171
|
-
/***/ ((__unused_webpack_module, exports,
|
|
52173
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_479086__) => {
|
|
52172
52174
|
|
|
52173
52175
|
var hash = exports;
|
|
52174
52176
|
|
|
52175
|
-
hash.utils =
|
|
52176
|
-
hash.common =
|
|
52177
|
-
hash.sha =
|
|
52178
|
-
hash.ripemd =
|
|
52179
|
-
hash.hmac =
|
|
52177
|
+
hash.utils = __nested_webpack_require_479086__(/*! ./hash/utils */ "../../node_modules/hash.js/lib/hash/utils.js");
|
|
52178
|
+
hash.common = __nested_webpack_require_479086__(/*! ./hash/common */ "../../node_modules/hash.js/lib/hash/common.js");
|
|
52179
|
+
hash.sha = __nested_webpack_require_479086__(/*! ./hash/sha */ "../../node_modules/hash.js/lib/hash/sha.js");
|
|
52180
|
+
hash.ripemd = __nested_webpack_require_479086__(/*! ./hash/ripemd */ "../../node_modules/hash.js/lib/hash/ripemd.js");
|
|
52181
|
+
hash.hmac = __nested_webpack_require_479086__(/*! ./hash/hmac */ "../../node_modules/hash.js/lib/hash/hmac.js");
|
|
52180
52182
|
|
|
52181
52183
|
// Proxy hash functions to the main object
|
|
52182
52184
|
hash.sha1 = hash.sha.sha1;
|
|
@@ -52193,13 +52195,13 @@ hash.ripemd160 = hash.ripemd.ripemd160;
|
|
|
52193
52195
|
/*!*****************************************************!*\
|
|
52194
52196
|
!*** ../../node_modules/hash.js/lib/hash/common.js ***!
|
|
52195
52197
|
\*****************************************************/
|
|
52196
|
-
/***/ ((__unused_webpack_module, exports,
|
|
52198
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_480162__) => {
|
|
52197
52199
|
|
|
52198
52200
|
"use strict";
|
|
52199
52201
|
|
|
52200
52202
|
|
|
52201
|
-
var utils =
|
|
52202
|
-
var assert =
|
|
52203
|
+
var utils = __nested_webpack_require_480162__(/*! ./utils */ "../../node_modules/hash.js/lib/hash/utils.js");
|
|
52204
|
+
var assert = __nested_webpack_require_480162__(/*! minimalistic-assert */ "../../node_modules/minimalistic-assert/index.js");
|
|
52203
52205
|
|
|
52204
52206
|
function BlockHash() {
|
|
52205
52207
|
this.pending = null;
|
|
@@ -52296,13 +52298,13 @@ BlockHash.prototype._pad = function pad() {
|
|
|
52296
52298
|
/*!***************************************************!*\
|
|
52297
52299
|
!*** ../../node_modules/hash.js/lib/hash/hmac.js ***!
|
|
52298
52300
|
\***************************************************/
|
|
52299
|
-
/***/ ((module, __unused_webpack_exports,
|
|
52301
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_482911__) => {
|
|
52300
52302
|
|
|
52301
52303
|
"use strict";
|
|
52302
52304
|
|
|
52303
52305
|
|
|
52304
|
-
var utils =
|
|
52305
|
-
var assert =
|
|
52306
|
+
var utils = __nested_webpack_require_482911__(/*! ./utils */ "../../node_modules/hash.js/lib/hash/utils.js");
|
|
52307
|
+
var assert = __nested_webpack_require_482911__(/*! minimalistic-assert */ "../../node_modules/minimalistic-assert/index.js");
|
|
52306
52308
|
|
|
52307
52309
|
function Hmac(hash, key, enc) {
|
|
52308
52310
|
if (!(this instanceof Hmac))
|
|
@@ -52354,13 +52356,13 @@ Hmac.prototype.digest = function digest(enc) {
|
|
|
52354
52356
|
/*!*****************************************************!*\
|
|
52355
52357
|
!*** ../../node_modules/hash.js/lib/hash/ripemd.js ***!
|
|
52356
52358
|
\*****************************************************/
|
|
52357
|
-
/***/ ((__unused_webpack_module, exports,
|
|
52359
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_484495__) => {
|
|
52358
52360
|
|
|
52359
52361
|
"use strict";
|
|
52360
52362
|
|
|
52361
52363
|
|
|
52362
|
-
var utils =
|
|
52363
|
-
var common =
|
|
52364
|
+
var utils = __nested_webpack_require_484495__(/*! ./utils */ "../../node_modules/hash.js/lib/hash/utils.js");
|
|
52365
|
+
var common = __nested_webpack_require_484495__(/*! ./common */ "../../node_modules/hash.js/lib/hash/common.js");
|
|
52364
52366
|
|
|
52365
52367
|
var rotl32 = utils.rotl32;
|
|
52366
52368
|
var sum32 = utils.sum32;
|
|
@@ -52511,16 +52513,16 @@ var sh = [
|
|
|
52511
52513
|
/*!**************************************************!*\
|
|
52512
52514
|
!*** ../../node_modules/hash.js/lib/hash/sha.js ***!
|
|
52513
52515
|
\**************************************************/
|
|
52514
|
-
/***/ ((__unused_webpack_module, exports,
|
|
52516
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_488477__) => {
|
|
52515
52517
|
|
|
52516
52518
|
"use strict";
|
|
52517
52519
|
|
|
52518
52520
|
|
|
52519
|
-
exports.sha1 =
|
|
52520
|
-
exports.sha224 =
|
|
52521
|
-
exports.sha256 =
|
|
52522
|
-
exports.sha384 =
|
|
52523
|
-
exports.sha512 =
|
|
52521
|
+
exports.sha1 = __nested_webpack_require_488477__(/*! ./sha/1 */ "../../node_modules/hash.js/lib/hash/sha/1.js");
|
|
52522
|
+
exports.sha224 = __nested_webpack_require_488477__(/*! ./sha/224 */ "../../node_modules/hash.js/lib/hash/sha/224.js");
|
|
52523
|
+
exports.sha256 = __nested_webpack_require_488477__(/*! ./sha/256 */ "../../node_modules/hash.js/lib/hash/sha/256.js");
|
|
52524
|
+
exports.sha384 = __nested_webpack_require_488477__(/*! ./sha/384 */ "../../node_modules/hash.js/lib/hash/sha/384.js");
|
|
52525
|
+
exports.sha512 = __nested_webpack_require_488477__(/*! ./sha/512 */ "../../node_modules/hash.js/lib/hash/sha/512.js");
|
|
52524
52526
|
|
|
52525
52527
|
|
|
52526
52528
|
/***/ }),
|
|
@@ -52529,14 +52531,14 @@ exports.sha512 = __nested_webpack_require_488331__(/*! ./sha/512 */ "../../node_
|
|
|
52529
52531
|
/*!****************************************************!*\
|
|
52530
52532
|
!*** ../../node_modules/hash.js/lib/hash/sha/1.js ***!
|
|
52531
52533
|
\****************************************************/
|
|
52532
|
-
/***/ ((module, __unused_webpack_exports,
|
|
52534
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_489321__) => {
|
|
52533
52535
|
|
|
52534
52536
|
"use strict";
|
|
52535
52537
|
|
|
52536
52538
|
|
|
52537
|
-
var utils =
|
|
52538
|
-
var common =
|
|
52539
|
-
var shaCommon =
|
|
52539
|
+
var utils = __nested_webpack_require_489321__(/*! ../utils */ "../../node_modules/hash.js/lib/hash/utils.js");
|
|
52540
|
+
var common = __nested_webpack_require_489321__(/*! ../common */ "../../node_modules/hash.js/lib/hash/common.js");
|
|
52541
|
+
var shaCommon = __nested_webpack_require_489321__(/*! ./common */ "../../node_modules/hash.js/lib/hash/sha/common.js");
|
|
52540
52542
|
|
|
52541
52543
|
var rotl32 = utils.rotl32;
|
|
52542
52544
|
var sum32 = utils.sum32;
|
|
@@ -52614,13 +52616,13 @@ SHA1.prototype._digest = function digest(enc) {
|
|
|
52614
52616
|
/*!******************************************************!*\
|
|
52615
52617
|
!*** ../../node_modules/hash.js/lib/hash/sha/224.js ***!
|
|
52616
52618
|
\******************************************************/
|
|
52617
|
-
/***/ ((module, __unused_webpack_exports,
|
|
52619
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_491404__) => {
|
|
52618
52620
|
|
|
52619
52621
|
"use strict";
|
|
52620
52622
|
|
|
52621
52623
|
|
|
52622
|
-
var utils =
|
|
52623
|
-
var SHA256 =
|
|
52624
|
+
var utils = __nested_webpack_require_491404__(/*! ../utils */ "../../node_modules/hash.js/lib/hash/utils.js");
|
|
52625
|
+
var SHA256 = __nested_webpack_require_491404__(/*! ./256 */ "../../node_modules/hash.js/lib/hash/sha/256.js");
|
|
52624
52626
|
|
|
52625
52627
|
function SHA224() {
|
|
52626
52628
|
if (!(this instanceof SHA224))
|
|
@@ -52655,15 +52657,15 @@ SHA224.prototype._digest = function digest(enc) {
|
|
|
52655
52657
|
/*!******************************************************!*\
|
|
52656
52658
|
!*** ../../node_modules/hash.js/lib/hash/sha/256.js ***!
|
|
52657
52659
|
\******************************************************/
|
|
52658
|
-
/***/ ((module, __unused_webpack_exports,
|
|
52660
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_492522__) => {
|
|
52659
52661
|
|
|
52660
52662
|
"use strict";
|
|
52661
52663
|
|
|
52662
52664
|
|
|
52663
|
-
var utils =
|
|
52664
|
-
var common =
|
|
52665
|
-
var shaCommon =
|
|
52666
|
-
var assert =
|
|
52665
|
+
var utils = __nested_webpack_require_492522__(/*! ../utils */ "../../node_modules/hash.js/lib/hash/utils.js");
|
|
52666
|
+
var common = __nested_webpack_require_492522__(/*! ../common */ "../../node_modules/hash.js/lib/hash/common.js");
|
|
52667
|
+
var shaCommon = __nested_webpack_require_492522__(/*! ./common */ "../../node_modules/hash.js/lib/hash/sha/common.js");
|
|
52668
|
+
var assert = __nested_webpack_require_492522__(/*! minimalistic-assert */ "../../node_modules/minimalistic-assert/index.js");
|
|
52667
52669
|
|
|
52668
52670
|
var sum32 = utils.sum32;
|
|
52669
52671
|
var sum32_4 = utils.sum32_4;
|
|
@@ -52771,14 +52773,14 @@ SHA256.prototype._digest = function digest(enc) {
|
|
|
52771
52773
|
/*!******************************************************!*\
|
|
52772
52774
|
!*** ../../node_modules/hash.js/lib/hash/sha/384.js ***!
|
|
52773
52775
|
\******************************************************/
|
|
52774
|
-
/***/ ((module, __unused_webpack_exports,
|
|
52776
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_495983__) => {
|
|
52775
52777
|
|
|
52776
52778
|
"use strict";
|
|
52777
52779
|
|
|
52778
52780
|
|
|
52779
|
-
var utils =
|
|
52781
|
+
var utils = __nested_webpack_require_495983__(/*! ../utils */ "../../node_modules/hash.js/lib/hash/utils.js");
|
|
52780
52782
|
|
|
52781
|
-
var SHA512 =
|
|
52783
|
+
var SHA512 = __nested_webpack_require_495983__(/*! ./512 */ "../../node_modules/hash.js/lib/hash/sha/512.js");
|
|
52782
52784
|
|
|
52783
52785
|
function SHA384() {
|
|
52784
52786
|
if (!(this instanceof SHA384))
|
|
@@ -52817,14 +52819,14 @@ SHA384.prototype._digest = function digest(enc) {
|
|
|
52817
52819
|
/*!******************************************************!*\
|
|
52818
52820
|
!*** ../../node_modules/hash.js/lib/hash/sha/512.js ***!
|
|
52819
52821
|
\******************************************************/
|
|
52820
|
-
/***/ ((module, __unused_webpack_exports,
|
|
52822
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_497199__) => {
|
|
52821
52823
|
|
|
52822
52824
|
"use strict";
|
|
52823
52825
|
|
|
52824
52826
|
|
|
52825
|
-
var utils =
|
|
52826
|
-
var common =
|
|
52827
|
-
var assert =
|
|
52827
|
+
var utils = __nested_webpack_require_497199__(/*! ../utils */ "../../node_modules/hash.js/lib/hash/utils.js");
|
|
52828
|
+
var common = __nested_webpack_require_497199__(/*! ../common */ "../../node_modules/hash.js/lib/hash/common.js");
|
|
52829
|
+
var assert = __nested_webpack_require_497199__(/*! minimalistic-assert */ "../../node_modules/minimalistic-assert/index.js");
|
|
52828
52830
|
|
|
52829
52831
|
var rotr64_hi = utils.rotr64_hi;
|
|
52830
52832
|
var rotr64_lo = utils.rotr64_lo;
|
|
@@ -53158,12 +53160,12 @@ function g1_512_lo(xh, xl) {
|
|
|
53158
53160
|
/*!*********************************************************!*\
|
|
53159
53161
|
!*** ../../node_modules/hash.js/lib/hash/sha/common.js ***!
|
|
53160
53162
|
\*********************************************************/
|
|
53161
|
-
/***/ ((__unused_webpack_module, exports,
|
|
53163
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_506067__) => {
|
|
53162
53164
|
|
|
53163
53165
|
"use strict";
|
|
53164
53166
|
|
|
53165
53167
|
|
|
53166
|
-
var utils =
|
|
53168
|
+
var utils = __nested_webpack_require_506067__(/*! ../utils */ "../../node_modules/hash.js/lib/hash/utils.js");
|
|
53167
53169
|
var rotr32 = utils.rotr32;
|
|
53168
53170
|
|
|
53169
53171
|
function ft_1(s, x, y, z) {
|
|
@@ -53218,13 +53220,13 @@ exports.g1_256 = g1_256;
|
|
|
53218
53220
|
/*!****************************************************!*\
|
|
53219
53221
|
!*** ../../node_modules/hash.js/lib/hash/utils.js ***!
|
|
53220
53222
|
\****************************************************/
|
|
53221
|
-
/***/ ((__unused_webpack_module, exports,
|
|
53223
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_507348__) => {
|
|
53222
53224
|
|
|
53223
53225
|
"use strict";
|
|
53224
53226
|
|
|
53225
53227
|
|
|
53226
|
-
var assert =
|
|
53227
|
-
var inherits =
|
|
53228
|
+
var assert = __nested_webpack_require_507348__(/*! minimalistic-assert */ "../../node_modules/minimalistic-assert/index.js");
|
|
53229
|
+
var inherits = __nested_webpack_require_507348__(/*! inherits */ "../../node_modules/inherits/inherits_browser.js");
|
|
53228
53230
|
|
|
53229
53231
|
exports.inherits = inherits;
|
|
53230
53232
|
|
|
@@ -53507,14 +53509,14 @@ exports.shr64_lo = shr64_lo;
|
|
|
53507
53509
|
/*!*****************************************************!*\
|
|
53508
53510
|
!*** ../../node_modules/hmac-drbg/lib/hmac-drbg.js ***!
|
|
53509
53511
|
\*****************************************************/
|
|
53510
|
-
/***/ ((module, __unused_webpack_exports,
|
|
53512
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_514323__) => {
|
|
53511
53513
|
|
|
53512
53514
|
"use strict";
|
|
53513
53515
|
|
|
53514
53516
|
|
|
53515
|
-
var hash =
|
|
53516
|
-
var utils =
|
|
53517
|
-
var assert =
|
|
53517
|
+
var hash = __nested_webpack_require_514323__(/*! hash.js */ "../../node_modules/hash.js/lib/hash.js");
|
|
53518
|
+
var utils = __nested_webpack_require_514323__(/*! minimalistic-crypto-utils */ "../../node_modules/minimalistic-crypto-utils/lib/utils.js");
|
|
53519
|
+
var assert = __nested_webpack_require_514323__(/*! minimalistic-assert */ "../../node_modules/minimalistic-assert/index.js");
|
|
53518
53520
|
|
|
53519
53521
|
function HmacDRBG(options) {
|
|
53520
53522
|
if (!(this instanceof HmacDRBG))
|
|
@@ -53763,12 +53765,12 @@ if (typeof Object.create === 'function') {
|
|
|
53763
53765
|
/*!****************************************************************!*\
|
|
53764
53766
|
!*** ../../node_modules/jsontokens/lib/cryptoClients/index.js ***!
|
|
53765
53767
|
\****************************************************************/
|
|
53766
|
-
/***/ ((__unused_webpack_module, exports,
|
|
53768
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_521304__) => {
|
|
53767
53769
|
|
|
53768
53770
|
"use strict";
|
|
53769
53771
|
|
|
53770
53772
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
53771
|
-
const secp256k1_1 =
|
|
53773
|
+
const secp256k1_1 = __nested_webpack_require_521304__(/*! ./secp256k1 */ "../../node_modules/jsontokens/lib/cryptoClients/secp256k1.js");
|
|
53772
53774
|
exports.SECP256K1Client = secp256k1_1.SECP256K1Client;
|
|
53773
53775
|
const cryptoClients = {
|
|
53774
53776
|
ES256K: secp256k1_1.SECP256K1Client
|
|
@@ -53782,15 +53784,15 @@ exports.cryptoClients = cryptoClients;
|
|
|
53782
53784
|
/*!********************************************************************!*\
|
|
53783
53785
|
!*** ../../node_modules/jsontokens/lib/cryptoClients/secp256k1.js ***!
|
|
53784
53786
|
\********************************************************************/
|
|
53785
|
-
/***/ ((__unused_webpack_module, exports,
|
|
53787
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_522075__) => {
|
|
53786
53788
|
|
|
53787
53789
|
"use strict";
|
|
53788
|
-
/* provided dependency */ var Buffer =
|
|
53790
|
+
/* provided dependency */ var Buffer = __nested_webpack_require_522075__(/*! buffer */ "../../node_modules/buffer/index.js")["Buffer"];
|
|
53789
53791
|
|
|
53790
53792
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
53791
|
-
const elliptic_1 =
|
|
53792
|
-
const ecdsa_sig_formatter_1 =
|
|
53793
|
-
const errors_1 =
|
|
53793
|
+
const elliptic_1 = __nested_webpack_require_522075__(/*! elliptic */ "../../node_modules/elliptic/lib/elliptic.js");
|
|
53794
|
+
const ecdsa_sig_formatter_1 = __nested_webpack_require_522075__(/*! ecdsa-sig-formatter */ "../../node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js");
|
|
53795
|
+
const errors_1 = __nested_webpack_require_522075__(/*! ../errors */ "../../node_modules/jsontokens/lib/errors.js");
|
|
53794
53796
|
class SECP256K1Client {
|
|
53795
53797
|
constructor() {
|
|
53796
53798
|
}
|
|
@@ -53869,10 +53871,10 @@ SECP256K1Client.algorithmName = 'ES256K';
|
|
|
53869
53871
|
/*!*****************************************************************!*\
|
|
53870
53872
|
!*** ../../node_modules/jsontokens/lib/cryptoClients/sha256.js ***!
|
|
53871
53873
|
\*****************************************************************/
|
|
53872
|
-
/***/ (function(__unused_webpack_module, exports,
|
|
53874
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_525956__) {
|
|
53873
53875
|
|
|
53874
53876
|
"use strict";
|
|
53875
|
-
/* provided dependency */ var Buffer =
|
|
53877
|
+
/* provided dependency */ var Buffer = __nested_webpack_require_525956__(/*! buffer */ "../../node_modules/buffer/index.js")["Buffer"];
|
|
53876
53878
|
|
|
53877
53879
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
53878
53880
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -53884,7 +53886,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
53884
53886
|
});
|
|
53885
53887
|
};
|
|
53886
53888
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
53887
|
-
const sha_js_1 =
|
|
53889
|
+
const sha_js_1 = __nested_webpack_require_525956__(/*! sha.js */ "../../node_modules/sha.js/index.js");
|
|
53888
53890
|
function hashSha256(input) {
|
|
53889
53891
|
const hashFunction = new sha_js_1.sha256();
|
|
53890
53892
|
return hashFunction.update(input).digest();
|
|
@@ -53902,7 +53904,7 @@ function hashSha256Async(input) {
|
|
|
53902
53904
|
}
|
|
53903
53905
|
else {
|
|
53904
53906
|
// Otherwise try loading the Node.js `crypto` module (running in Node.js, or an older browser with a polyfill).
|
|
53905
|
-
const nodeCrypto =
|
|
53907
|
+
const nodeCrypto = __nested_webpack_require_525956__(/*! crypto */ "?ec03");
|
|
53906
53908
|
if (!nodeCrypto.createHash) {
|
|
53907
53909
|
throw new Error('`crypto` module does not contain `createHash`');
|
|
53908
53910
|
}
|
|
@@ -53927,12 +53929,12 @@ exports.hashSha256Async = hashSha256Async;
|
|
|
53927
53929
|
/*!***************************************************!*\
|
|
53928
53930
|
!*** ../../node_modules/jsontokens/lib/decode.js ***!
|
|
53929
53931
|
\***************************************************/
|
|
53930
|
-
/***/ ((__unused_webpack_module, exports,
|
|
53932
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_528918__) => {
|
|
53931
53933
|
|
|
53932
53934
|
"use strict";
|
|
53933
53935
|
|
|
53934
53936
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
53935
|
-
const base64url_1 =
|
|
53937
|
+
const base64url_1 = __nested_webpack_require_528918__(/*! base64url */ "../../node_modules/base64url/index.js");
|
|
53936
53938
|
function decodeToken(token) {
|
|
53937
53939
|
if (typeof token === 'string') {
|
|
53938
53940
|
// decompose the token into parts
|
|
@@ -54005,7 +54007,7 @@ exports.InvalidTokenError = InvalidTokenError;
|
|
|
54005
54007
|
/*!**************************************************!*\
|
|
54006
54008
|
!*** ../../node_modules/jsontokens/lib/index.js ***!
|
|
54007
54009
|
\**************************************************/
|
|
54008
|
-
/***/ ((__unused_webpack_module, exports,
|
|
54010
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_531522__) => {
|
|
54009
54011
|
|
|
54010
54012
|
"use strict";
|
|
54011
54013
|
|
|
@@ -54013,11 +54015,11 @@ function __export(m) {
|
|
|
54013
54015
|
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
54014
54016
|
}
|
|
54015
54017
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
54016
|
-
__export(
|
|
54017
|
-
__export(
|
|
54018
|
-
__export(
|
|
54019
|
-
__export(
|
|
54020
|
-
__export(
|
|
54018
|
+
__export(__nested_webpack_require_531522__(/*! ./signer */ "../../node_modules/jsontokens/lib/signer.js"));
|
|
54019
|
+
__export(__nested_webpack_require_531522__(/*! ./verifier */ "../../node_modules/jsontokens/lib/verifier.js"));
|
|
54020
|
+
__export(__nested_webpack_require_531522__(/*! ./decode */ "../../node_modules/jsontokens/lib/decode.js"));
|
|
54021
|
+
__export(__nested_webpack_require_531522__(/*! ./errors */ "../../node_modules/jsontokens/lib/errors.js"));
|
|
54022
|
+
__export(__nested_webpack_require_531522__(/*! ./cryptoClients */ "../../node_modules/jsontokens/lib/cryptoClients/index.js"));
|
|
54021
54023
|
//# sourceMappingURL=index.js.map
|
|
54022
54024
|
|
|
54023
54025
|
/***/ }),
|
|
@@ -54026,7 +54028,7 @@ __export(__nested_webpack_require_531376__(/*! ./cryptoClients */ "../../node_mo
|
|
|
54026
54028
|
/*!***************************************************!*\
|
|
54027
54029
|
!*** ../../node_modules/jsontokens/lib/signer.js ***!
|
|
54028
54030
|
\***************************************************/
|
|
54029
|
-
/***/ (function(__unused_webpack_module, exports,
|
|
54031
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_532539__) {
|
|
54030
54032
|
|
|
54031
54033
|
"use strict";
|
|
54032
54034
|
|
|
@@ -54040,10 +54042,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
54040
54042
|
});
|
|
54041
54043
|
};
|
|
54042
54044
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
54043
|
-
const base64url_1 =
|
|
54044
|
-
const cryptoClients_1 =
|
|
54045
|
-
const errors_1 =
|
|
54046
|
-
const sha256_1 =
|
|
54045
|
+
const base64url_1 = __nested_webpack_require_532539__(/*! base64url */ "../../node_modules/base64url/index.js");
|
|
54046
|
+
const cryptoClients_1 = __nested_webpack_require_532539__(/*! ./cryptoClients */ "../../node_modules/jsontokens/lib/cryptoClients/index.js");
|
|
54047
|
+
const errors_1 = __nested_webpack_require_532539__(/*! ./errors */ "../../node_modules/jsontokens/lib/errors.js");
|
|
54048
|
+
const sha256_1 = __nested_webpack_require_532539__(/*! ./cryptoClients/sha256 */ "../../node_modules/jsontokens/lib/cryptoClients/sha256.js");
|
|
54047
54049
|
function createSigningInput(payload, header) {
|
|
54048
54050
|
const tokenParts = [];
|
|
54049
54051
|
// add in the header
|
|
@@ -54130,15 +54132,15 @@ exports.TokenSigner = TokenSigner;
|
|
|
54130
54132
|
/*!*****************************************************!*\
|
|
54131
54133
|
!*** ../../node_modules/jsontokens/lib/verifier.js ***!
|
|
54132
54134
|
\*****************************************************/
|
|
54133
|
-
/***/ ((__unused_webpack_module, exports,
|
|
54135
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_537417__) => {
|
|
54134
54136
|
|
|
54135
54137
|
"use strict";
|
|
54136
54138
|
|
|
54137
54139
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
54138
|
-
const base64url_1 =
|
|
54139
|
-
const cryptoClients_1 =
|
|
54140
|
-
const errors_1 =
|
|
54141
|
-
const sha256_1 =
|
|
54140
|
+
const base64url_1 = __nested_webpack_require_537417__(/*! base64url */ "../../node_modules/base64url/index.js");
|
|
54141
|
+
const cryptoClients_1 = __nested_webpack_require_537417__(/*! ./cryptoClients */ "../../node_modules/jsontokens/lib/cryptoClients/index.js");
|
|
54142
|
+
const errors_1 = __nested_webpack_require_537417__(/*! ./errors */ "../../node_modules/jsontokens/lib/errors.js");
|
|
54143
|
+
const sha256_1 = __nested_webpack_require_537417__(/*! ./cryptoClients/sha256 */ "../../node_modules/jsontokens/lib/cryptoClients/sha256.js");
|
|
54142
54144
|
class TokenVerifier {
|
|
54143
54145
|
constructor(signingAlgorithm, rawPublicKey) {
|
|
54144
54146
|
if (!(signingAlgorithm && rawPublicKey)) {
|
|
@@ -54320,14 +54322,14 @@ utils.encode = function encode(arr, enc) {
|
|
|
54320
54322
|
/*!************************************************!*\
|
|
54321
54323
|
!*** ../../node_modules/query-string/index.js ***!
|
|
54322
54324
|
\************************************************/
|
|
54323
|
-
/***/ ((__unused_webpack_module, exports,
|
|
54325
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_543518__) => {
|
|
54324
54326
|
|
|
54325
54327
|
"use strict";
|
|
54326
54328
|
|
|
54327
|
-
const strictUriEncode =
|
|
54328
|
-
const decodeComponent =
|
|
54329
|
-
const splitOnFirst =
|
|
54330
|
-
const filterObject =
|
|
54329
|
+
const strictUriEncode = __nested_webpack_require_543518__(/*! strict-uri-encode */ "../../node_modules/strict-uri-encode/index.js");
|
|
54330
|
+
const decodeComponent = __nested_webpack_require_543518__(/*! decode-uri-component */ "../../node_modules/decode-uri-component/index.js");
|
|
54331
|
+
const splitOnFirst = __nested_webpack_require_543518__(/*! split-on-first */ "../../node_modules/split-on-first/index.js");
|
|
54332
|
+
const filterObject = __nested_webpack_require_543518__(/*! filter-obj */ "../../node_modules/filter-obj/index.js");
|
|
54331
54333
|
|
|
54332
54334
|
const isNullOrUndefined = value => value === null || value === undefined;
|
|
54333
54335
|
|
|
@@ -54735,11 +54737,11 @@ exports.exclude = (input, filter, options) => {
|
|
|
54735
54737
|
/*!***********************************************!*\
|
|
54736
54738
|
!*** ../../node_modules/safe-buffer/index.js ***!
|
|
54737
54739
|
\***********************************************/
|
|
54738
|
-
/***/ ((module, exports,
|
|
54740
|
+
/***/ ((module, exports, __nested_webpack_require_553565__) => {
|
|
54739
54741
|
|
|
54740
54742
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
54741
54743
|
/* eslint-disable node/no-deprecated-api */
|
|
54742
|
-
var buffer =
|
|
54744
|
+
var buffer = __nested_webpack_require_553565__(/*! buffer */ "../../node_modules/buffer/index.js")
|
|
54743
54745
|
var Buffer = buffer.Buffer
|
|
54744
54746
|
|
|
54745
54747
|
// alternative to using Object.keys for old browsers
|
|
@@ -54810,9 +54812,9 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
54810
54812
|
/*!*****************************************!*\
|
|
54811
54813
|
!*** ../../node_modules/sha.js/hash.js ***!
|
|
54812
54814
|
\*****************************************/
|
|
54813
|
-
/***/ ((module, __unused_webpack_exports,
|
|
54815
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_555554__) => {
|
|
54814
54816
|
|
|
54815
|
-
var Buffer = (
|
|
54817
|
+
var Buffer = (__nested_webpack_require_555554__(/*! safe-buffer */ "../../node_modules/safe-buffer/index.js").Buffer)
|
|
54816
54818
|
|
|
54817
54819
|
// prototype class for hash functions
|
|
54818
54820
|
function Hash (blockSize, finalSize) {
|
|
@@ -54901,7 +54903,7 @@ module.exports = Hash
|
|
|
54901
54903
|
/*!******************************************!*\
|
|
54902
54904
|
!*** ../../node_modules/sha.js/index.js ***!
|
|
54903
54905
|
\******************************************/
|
|
54904
|
-
/***/ ((module, __unused_webpack_exports,
|
|
54906
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_557773__) => {
|
|
54905
54907
|
|
|
54906
54908
|
var exports = module.exports = function SHA (algorithm) {
|
|
54907
54909
|
algorithm = algorithm.toLowerCase()
|
|
@@ -54912,12 +54914,12 @@ var exports = module.exports = function SHA (algorithm) {
|
|
|
54912
54914
|
return new Algorithm()
|
|
54913
54915
|
}
|
|
54914
54916
|
|
|
54915
|
-
exports.sha =
|
|
54916
|
-
exports.sha1 =
|
|
54917
|
-
exports.sha224 =
|
|
54918
|
-
exports.sha256 =
|
|
54919
|
-
exports.sha384 =
|
|
54920
|
-
exports.sha512 =
|
|
54917
|
+
exports.sha = __nested_webpack_require_557773__(/*! ./sha */ "../../node_modules/sha.js/sha.js")
|
|
54918
|
+
exports.sha1 = __nested_webpack_require_557773__(/*! ./sha1 */ "../../node_modules/sha.js/sha1.js")
|
|
54919
|
+
exports.sha224 = __nested_webpack_require_557773__(/*! ./sha224 */ "../../node_modules/sha.js/sha224.js")
|
|
54920
|
+
exports.sha256 = __nested_webpack_require_557773__(/*! ./sha256 */ "../../node_modules/sha.js/sha256.js")
|
|
54921
|
+
exports.sha384 = __nested_webpack_require_557773__(/*! ./sha384 */ "../../node_modules/sha.js/sha384.js")
|
|
54922
|
+
exports.sha512 = __nested_webpack_require_557773__(/*! ./sha512 */ "../../node_modules/sha.js/sha512.js")
|
|
54921
54923
|
|
|
54922
54924
|
|
|
54923
54925
|
/***/ }),
|
|
@@ -54926,7 +54928,7 @@ exports.sha512 = __nested_webpack_require_557627__(/*! ./sha512 */ "../../node_m
|
|
|
54926
54928
|
/*!****************************************!*\
|
|
54927
54929
|
!*** ../../node_modules/sha.js/sha.js ***!
|
|
54928
54930
|
\****************************************/
|
|
54929
|
-
/***/ ((module, __unused_webpack_exports,
|
|
54931
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_558827__) => {
|
|
54930
54932
|
|
|
54931
54933
|
/*
|
|
54932
54934
|
* A JavaScript implementation of the Secure Hash Algorithm, SHA-0, as defined
|
|
@@ -54936,9 +54938,9 @@ exports.sha512 = __nested_webpack_require_557627__(/*! ./sha512 */ "../../node_m
|
|
|
54936
54938
|
* operation was added.
|
|
54937
54939
|
*/
|
|
54938
54940
|
|
|
54939
|
-
var inherits =
|
|
54940
|
-
var Hash =
|
|
54941
|
-
var Buffer = (
|
|
54941
|
+
var inherits = __nested_webpack_require_558827__(/*! inherits */ "../../node_modules/inherits/inherits_browser.js")
|
|
54942
|
+
var Hash = __nested_webpack_require_558827__(/*! ./hash */ "../../node_modules/sha.js/hash.js")
|
|
54943
|
+
var Buffer = (__nested_webpack_require_558827__(/*! safe-buffer */ "../../node_modules/safe-buffer/index.js").Buffer)
|
|
54942
54944
|
|
|
54943
54945
|
var K = [
|
|
54944
54946
|
0x5a827999, 0x6ed9eba1, 0x8f1bbcdc | 0, 0xca62c1d6 | 0
|
|
@@ -55030,7 +55032,7 @@ module.exports = Sha
|
|
|
55030
55032
|
/*!*****************************************!*\
|
|
55031
55033
|
!*** ../../node_modules/sha.js/sha1.js ***!
|
|
55032
55034
|
\*****************************************/
|
|
55033
|
-
/***/ ((module, __unused_webpack_exports,
|
|
55035
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_561186__) => {
|
|
55034
55036
|
|
|
55035
55037
|
/*
|
|
55036
55038
|
* A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
|
|
@@ -55041,9 +55043,9 @@ module.exports = Sha
|
|
|
55041
55043
|
* See http://pajhome.org.uk/crypt/md5 for details.
|
|
55042
55044
|
*/
|
|
55043
55045
|
|
|
55044
|
-
var inherits =
|
|
55045
|
-
var Hash =
|
|
55046
|
-
var Buffer = (
|
|
55046
|
+
var inherits = __nested_webpack_require_561186__(/*! inherits */ "../../node_modules/inherits/inherits_browser.js")
|
|
55047
|
+
var Hash = __nested_webpack_require_561186__(/*! ./hash */ "../../node_modules/sha.js/hash.js")
|
|
55048
|
+
var Buffer = (__nested_webpack_require_561186__(/*! safe-buffer */ "../../node_modules/safe-buffer/index.js").Buffer)
|
|
55047
55049
|
|
|
55048
55050
|
var K = [
|
|
55049
55051
|
0x5a827999, 0x6ed9eba1, 0x8f1bbcdc | 0, 0xca62c1d6 | 0
|
|
@@ -55139,7 +55141,7 @@ module.exports = Sha1
|
|
|
55139
55141
|
/*!*******************************************!*\
|
|
55140
55142
|
!*** ../../node_modules/sha.js/sha224.js ***!
|
|
55141
55143
|
\*******************************************/
|
|
55142
|
-
/***/ ((module, __unused_webpack_exports,
|
|
55144
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_563670__) => {
|
|
55143
55145
|
|
|
55144
55146
|
/**
|
|
55145
55147
|
* A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined
|
|
@@ -55149,10 +55151,10 @@ module.exports = Sha1
|
|
|
55149
55151
|
*
|
|
55150
55152
|
*/
|
|
55151
55153
|
|
|
55152
|
-
var inherits =
|
|
55153
|
-
var Sha256 =
|
|
55154
|
-
var Hash =
|
|
55155
|
-
var Buffer = (
|
|
55154
|
+
var inherits = __nested_webpack_require_563670__(/*! inherits */ "../../node_modules/inherits/inherits_browser.js")
|
|
55155
|
+
var Sha256 = __nested_webpack_require_563670__(/*! ./sha256 */ "../../node_modules/sha.js/sha256.js")
|
|
55156
|
+
var Hash = __nested_webpack_require_563670__(/*! ./hash */ "../../node_modules/sha.js/hash.js")
|
|
55157
|
+
var Buffer = (__nested_webpack_require_563670__(/*! safe-buffer */ "../../node_modules/safe-buffer/index.js").Buffer)
|
|
55156
55158
|
|
|
55157
55159
|
var W = new Array(64)
|
|
55158
55160
|
|
|
@@ -55202,7 +55204,7 @@ module.exports = Sha224
|
|
|
55202
55204
|
/*!*******************************************!*\
|
|
55203
55205
|
!*** ../../node_modules/sha.js/sha256.js ***!
|
|
55204
55206
|
\*******************************************/
|
|
55205
|
-
/***/ ((module, __unused_webpack_exports,
|
|
55207
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_565270__) => {
|
|
55206
55208
|
|
|
55207
55209
|
/**
|
|
55208
55210
|
* A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined
|
|
@@ -55212,9 +55214,9 @@ module.exports = Sha224
|
|
|
55212
55214
|
*
|
|
55213
55215
|
*/
|
|
55214
55216
|
|
|
55215
|
-
var inherits =
|
|
55216
|
-
var Hash =
|
|
55217
|
-
var Buffer = (
|
|
55217
|
+
var inherits = __nested_webpack_require_565270__(/*! inherits */ "../../node_modules/inherits/inherits_browser.js")
|
|
55218
|
+
var Hash = __nested_webpack_require_565270__(/*! ./hash */ "../../node_modules/sha.js/hash.js")
|
|
55219
|
+
var Buffer = (__nested_webpack_require_565270__(/*! safe-buffer */ "../../node_modules/safe-buffer/index.js").Buffer)
|
|
55218
55220
|
|
|
55219
55221
|
var K = [
|
|
55220
55222
|
0x428A2F98, 0x71374491, 0xB5C0FBCF, 0xE9B5DBA5,
|
|
@@ -55347,12 +55349,12 @@ module.exports = Sha256
|
|
|
55347
55349
|
/*!*******************************************!*\
|
|
55348
55350
|
!*** ../../node_modules/sha.js/sha384.js ***!
|
|
55349
55351
|
\*******************************************/
|
|
55350
|
-
/***/ ((module, __unused_webpack_exports,
|
|
55352
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_568999__) => {
|
|
55351
55353
|
|
|
55352
|
-
var inherits =
|
|
55353
|
-
var SHA512 =
|
|
55354
|
-
var Hash =
|
|
55355
|
-
var Buffer = (
|
|
55354
|
+
var inherits = __nested_webpack_require_568999__(/*! inherits */ "../../node_modules/inherits/inherits_browser.js")
|
|
55355
|
+
var SHA512 = __nested_webpack_require_568999__(/*! ./sha512 */ "../../node_modules/sha.js/sha512.js")
|
|
55356
|
+
var Hash = __nested_webpack_require_568999__(/*! ./hash */ "../../node_modules/sha.js/hash.js")
|
|
55357
|
+
var Buffer = (__nested_webpack_require_568999__(/*! safe-buffer */ "../../node_modules/safe-buffer/index.js").Buffer)
|
|
55356
55358
|
|
|
55357
55359
|
var W = new Array(160)
|
|
55358
55360
|
|
|
@@ -55414,11 +55416,11 @@ module.exports = Sha384
|
|
|
55414
55416
|
/*!*******************************************!*\
|
|
55415
55417
|
!*** ../../node_modules/sha.js/sha512.js ***!
|
|
55416
55418
|
\*******************************************/
|
|
55417
|
-
/***/ ((module, __unused_webpack_exports,
|
|
55419
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_570675__) => {
|
|
55418
55420
|
|
|
55419
|
-
var inherits =
|
|
55420
|
-
var Hash =
|
|
55421
|
-
var Buffer = (
|
|
55421
|
+
var inherits = __nested_webpack_require_570675__(/*! inherits */ "../../node_modules/inherits/inherits_browser.js")
|
|
55422
|
+
var Hash = __nested_webpack_require_570675__(/*! ./hash */ "../../node_modules/sha.js/hash.js")
|
|
55423
|
+
var Buffer = (__nested_webpack_require_570675__(/*! safe-buffer */ "../../node_modules/safe-buffer/index.js").Buffer)
|
|
55422
55424
|
|
|
55423
55425
|
var K = [
|
|
55424
55426
|
0x428a2f98, 0xd728ae22, 0x71374491, 0x23ef65cd,
|
|
@@ -210669,7 +210671,7 @@ module.exports = JSON.parse('{"name":"elliptic","version":"6.5.4","description":
|
|
|
210669
210671
|
/******/ var __webpack_module_cache__ = {};
|
|
210670
210672
|
/******/
|
|
210671
210673
|
/******/ // The require function
|
|
210672
|
-
/******/ function
|
|
210674
|
+
/******/ function __nested_webpack_require_5406410__(moduleId) {
|
|
210673
210675
|
/******/ // Check if module is in cache
|
|
210674
210676
|
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
210675
210677
|
/******/ if (cachedModule !== undefined) {
|
|
@@ -210683,7 +210685,7 @@ module.exports = JSON.parse('{"name":"elliptic","version":"6.5.4","description":
|
|
|
210683
210685
|
/******/ };
|
|
210684
210686
|
/******/
|
|
210685
210687
|
/******/ // Execute the module function
|
|
210686
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
|
210688
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_5406410__);
|
|
210687
210689
|
/******/
|
|
210688
210690
|
/******/ // Flag the module as loaded
|
|
210689
210691
|
/******/ module.loaded = true;
|
|
@@ -210696,11 +210698,11 @@ module.exports = JSON.parse('{"name":"elliptic","version":"6.5.4","description":
|
|
|
210696
210698
|
/******/ /* webpack/runtime/compat get default export */
|
|
210697
210699
|
/******/ (() => {
|
|
210698
210700
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
210699
|
-
/******/
|
|
210701
|
+
/******/ __nested_webpack_require_5406410__.n = (module) => {
|
|
210700
210702
|
/******/ var getter = module && module.__esModule ?
|
|
210701
210703
|
/******/ () => (module['default']) :
|
|
210702
210704
|
/******/ () => (module);
|
|
210703
|
-
/******/
|
|
210705
|
+
/******/ __nested_webpack_require_5406410__.d(getter, { a: getter });
|
|
210704
210706
|
/******/ return getter;
|
|
210705
210707
|
/******/ };
|
|
210706
210708
|
/******/ })();
|
|
@@ -210708,9 +210710,9 @@ module.exports = JSON.parse('{"name":"elliptic","version":"6.5.4","description":
|
|
|
210708
210710
|
/******/ /* webpack/runtime/define property getters */
|
|
210709
210711
|
/******/ (() => {
|
|
210710
210712
|
/******/ // define getter functions for harmony exports
|
|
210711
|
-
/******/
|
|
210713
|
+
/******/ __nested_webpack_require_5406410__.d = (exports, definition) => {
|
|
210712
210714
|
/******/ for(var key in definition) {
|
|
210713
|
-
/******/ if(
|
|
210715
|
+
/******/ if(__nested_webpack_require_5406410__.o(definition, key) && !__nested_webpack_require_5406410__.o(exports, key)) {
|
|
210714
210716
|
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
210715
210717
|
/******/ }
|
|
210716
210718
|
/******/ }
|
|
@@ -210719,13 +210721,13 @@ module.exports = JSON.parse('{"name":"elliptic","version":"6.5.4","description":
|
|
|
210719
210721
|
/******/
|
|
210720
210722
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
210721
210723
|
/******/ (() => {
|
|
210722
|
-
/******/
|
|
210724
|
+
/******/ __nested_webpack_require_5406410__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
210723
210725
|
/******/ })();
|
|
210724
210726
|
/******/
|
|
210725
210727
|
/******/ /* webpack/runtime/make namespace object */
|
|
210726
210728
|
/******/ (() => {
|
|
210727
210729
|
/******/ // define __esModule on exports
|
|
210728
|
-
/******/
|
|
210730
|
+
/******/ __nested_webpack_require_5406410__.r = (exports) => {
|
|
210729
210731
|
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
210730
210732
|
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
210731
210733
|
/******/ }
|
|
@@ -210735,7 +210737,7 @@ module.exports = JSON.parse('{"name":"elliptic","version":"6.5.4","description":
|
|
|
210735
210737
|
/******/
|
|
210736
210738
|
/******/ /* webpack/runtime/node module decorator */
|
|
210737
210739
|
/******/ (() => {
|
|
210738
|
-
/******/
|
|
210740
|
+
/******/ __nested_webpack_require_5406410__.nmd = (module) => {
|
|
210739
210741
|
/******/ module.paths = [];
|
|
210740
210742
|
/******/ if (!module.children) module.children = [];
|
|
210741
210743
|
/******/ return module;
|
|
@@ -210750,8 +210752,8 @@ var __webpack_exports__ = {};
|
|
|
210750
210752
|
/*!**********************!*\
|
|
210751
210753
|
!*** ./src/index.ts ***!
|
|
210752
210754
|
\**********************/
|
|
210753
|
-
|
|
210754
|
-
/* harmony export */
|
|
210755
|
+
__nested_webpack_require_5406410__.r(__webpack_exports__);
|
|
210756
|
+
/* harmony export */ __nested_webpack_require_5406410__.d(__webpack_exports__, {
|
|
210755
210757
|
/* harmony export */ "AppConfig": () => (/* reexport safe */ _appConfig__WEBPACK_IMPORTED_MODULE_0__.AppConfig),
|
|
210756
210758
|
/* harmony export */ "makeAuthRequest": () => (/* reexport safe */ _messages__WEBPACK_IMPORTED_MODULE_1__.makeAuthRequest),
|
|
210757
210759
|
/* harmony export */ "makeAuthResponse": () => (/* reexport safe */ _messages__WEBPACK_IMPORTED_MODULE_1__.makeAuthResponse),
|
|
@@ -210785,19 +210787,19 @@ __nested_webpack_require_5406264__.r(__webpack_exports__);
|
|
|
210785
210787
|
/* harmony export */ "NAME_LOOKUP_PATH": () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_6__.NAME_LOOKUP_PATH),
|
|
210786
210788
|
/* harmony export */ "lookupProfile": () => (/* reexport safe */ _profile__WEBPACK_IMPORTED_MODULE_7__.lookupProfile)
|
|
210787
210789
|
/* harmony export */ });
|
|
210788
|
-
/* harmony import */ var _appConfig__WEBPACK_IMPORTED_MODULE_0__ =
|
|
210789
|
-
/* harmony import */ var _messages__WEBPACK_IMPORTED_MODULE_1__ =
|
|
210790
|
-
/* harmony import */ var _provider__WEBPACK_IMPORTED_MODULE_2__ =
|
|
210791
|
-
/* harmony import */ var _verification__WEBPACK_IMPORTED_MODULE_3__ =
|
|
210792
|
-
/* harmony import */ var _dids__WEBPACK_IMPORTED_MODULE_4__ =
|
|
210793
|
-
/* harmony import */ var _userSession__WEBPACK_IMPORTED_MODULE_5__ =
|
|
210794
|
-
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ =
|
|
210795
|
-
/* harmony import */ var _profile__WEBPACK_IMPORTED_MODULE_7__ =
|
|
210796
|
-
/* harmony import */ var _userData__WEBPACK_IMPORTED_MODULE_8__ =
|
|
210797
|
-
/* harmony import */ var _userData__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/
|
|
210790
|
+
/* harmony import */ var _appConfig__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_5406410__(/*! ./appConfig */ "./src/appConfig.ts");
|
|
210791
|
+
/* harmony import */ var _messages__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_5406410__(/*! ./messages */ "./src/messages.ts");
|
|
210792
|
+
/* harmony import */ var _provider__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_5406410__(/*! ./provider */ "./src/provider.ts");
|
|
210793
|
+
/* harmony import */ var _verification__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_5406410__(/*! ./verification */ "./src/verification.ts");
|
|
210794
|
+
/* harmony import */ var _dids__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_5406410__(/*! ./dids */ "./src/dids.ts");
|
|
210795
|
+
/* harmony import */ var _userSession__WEBPACK_IMPORTED_MODULE_5__ = __nested_webpack_require_5406410__(/*! ./userSession */ "./src/userSession.ts");
|
|
210796
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ = __nested_webpack_require_5406410__(/*! ./constants */ "./src/constants.ts");
|
|
210797
|
+
/* harmony import */ var _profile__WEBPACK_IMPORTED_MODULE_7__ = __nested_webpack_require_5406410__(/*! ./profile */ "./src/profile.ts");
|
|
210798
|
+
/* harmony import */ var _userData__WEBPACK_IMPORTED_MODULE_8__ = __nested_webpack_require_5406410__(/*! ./userData */ "./src/userData.ts");
|
|
210799
|
+
/* harmony import */ var _userData__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__nested_webpack_require_5406410__.n(_userData__WEBPACK_IMPORTED_MODULE_8__);
|
|
210798
210800
|
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
210799
210801
|
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _userData__WEBPACK_IMPORTED_MODULE_8__) if(["default","AppConfig","makeAuthRequest","makeAuthResponse","decryptPrivateKey","getAuthRequestFromURL","fetchAppManifest","verifyAuthRequest","verifyAuthResponse","isExpirationDateValid","isIssuanceDateValid","doPublicKeysMatchUsername","doPublicKeysMatchIssuer","doSignaturesMatchPublicKeys","isManifestUriValid","isRedirectUriValid","verifyAuthRequestAndLoadManifest","UserSession","getAddressFromDID","getDIDType","makeDIDFromAddress","makeDIDFromPublicKey","AuthScope","BLOCKSTACK_APP_PRIVATE_KEY_LABEL","BLOCKSTACK_HANDLER","BLOCKSTACK_STORAGE_LABEL","DEFAULT_BLOCKSTACK_HOST","DEFAULT_CORE_NODE","DEFAULT_PROFILE","DEFAULT_SCOPE","LOCALSTORAGE_SESSION_KEY","NAME_LOOKUP_PATH","lookupProfile"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _userData__WEBPACK_IMPORTED_MODULE_8__[__WEBPACK_IMPORT_KEY__]
|
|
210800
|
-
/* harmony reexport (unknown) */
|
|
210802
|
+
/* harmony reexport (unknown) */ __nested_webpack_require_5406410__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
210801
210803
|
|
|
210802
210804
|
|
|
210803
210805
|
|