@cardano-sdk/dapp-connector 0.12.19 → 0.12.20
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/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/AuthenticatorApi/PersistentAuthenticator.d.ts +2 -2
- package/dist/esm/AuthenticatorApi/PersistentAuthenticator.js +1 -1
- package/dist/esm/AuthenticatorApi/PersistentAuthenticatorStorage.d.ts +1 -1
- package/dist/esm/AuthenticatorApi/index.d.ts +3 -3
- package/dist/esm/AuthenticatorApi/index.js +3 -3
- package/dist/esm/WalletApi/Cip30Wallet.d.ts +2 -2
- package/dist/esm/WalletApi/Cip30Wallet.js +1 -1
- package/dist/esm/WalletApi/index.d.ts +2 -2
- package/dist/esm/WalletApi/index.js +2 -2
- package/dist/esm/errors/index.d.ts +5 -5
- package/dist/esm/errors/index.js +5 -5
- package/dist/esm/index.d.ts +5 -5
- package/dist/esm/index.js +5 -5
- package/dist/esm/injectGlobal.d.ts +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AuthenticatorApi, RequestAccess } from './types';
|
|
1
|
+
import { AuthenticatorApi, RequestAccess } from './types.js';
|
|
2
2
|
import { Logger } from 'ts-log';
|
|
3
|
-
import { PersistentAuthenticatorStorage } from './PersistentAuthenticatorStorage';
|
|
3
|
+
import { PersistentAuthenticatorStorage } from './PersistentAuthenticatorStorage.js';
|
|
4
4
|
import { Runtime } from 'webextension-polyfill';
|
|
5
5
|
export interface PersistentAuhenticatorOptions {
|
|
6
6
|
requestAccess: RequestAccess;
|
|
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
10
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
11
11
|
};
|
|
12
12
|
var _PersistentAuthenticator_instances, _PersistentAuthenticator_requestAccess, _PersistentAuthenticator_storage, _PersistentAuthenticator_logger, _PersistentAuthenticator_originsReady, _PersistentAuthenticator_store;
|
|
13
|
-
import { senderOrigin } from '../util';
|
|
13
|
+
import { senderOrigin } from '../util.js';
|
|
14
14
|
export class PersistentAuthenticator {
|
|
15
15
|
constructor({ requestAccess }, { logger, storage }) {
|
|
16
16
|
_PersistentAuthenticator_instances.add(this);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './PersistentAuthenticator';
|
|
2
|
-
export * from './PersistentAuthenticatorStorage';
|
|
3
|
-
export * from './types';
|
|
1
|
+
export * from './PersistentAuthenticator.js';
|
|
2
|
+
export * from './PersistentAuthenticatorStorage.js';
|
|
3
|
+
export * from './types.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './PersistentAuthenticator';
|
|
2
|
-
export * from './PersistentAuthenticatorStorage';
|
|
3
|
-
export * from './types';
|
|
1
|
+
export * from './PersistentAuthenticator.js';
|
|
2
|
+
export * from './PersistentAuthenticatorStorage.js';
|
|
3
|
+
export * from './types.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Cip30WalletApiWithPossibleExtensions, WalletApi, WalletApiExtension, WalletMethod } from './types';
|
|
1
|
+
import { Cip30WalletApiWithPossibleExtensions, WalletApi, WalletApiExtension, WalletMethod } from './types.js';
|
|
2
2
|
import { Logger } from 'ts-log';
|
|
3
|
-
import { RemoteAuthenticator } from '../AuthenticatorApi';
|
|
3
|
+
import { RemoteAuthenticator } from '../AuthenticatorApi/index.js';
|
|
4
4
|
export declare const CipMethodsMapping: Record<number, WalletMethod[]>;
|
|
5
5
|
export declare const WalletApiMethodNames: WalletMethod[];
|
|
6
6
|
export declare type ApiVersion = string;
|
|
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
10
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
11
11
|
};
|
|
12
12
|
var _Cip30Wallet_instances, _Cip30Wallet_logger, _Cip30Wallet_api, _Cip30Wallet_authenticator, _Cip30Wallet_validateExtensions;
|
|
13
|
-
import { APIErrorCode, ApiError } from '../errors';
|
|
13
|
+
import { APIErrorCode, ApiError } from '../errors/index.js';
|
|
14
14
|
export const CipMethodsMapping = {
|
|
15
15
|
30: [
|
|
16
16
|
'getNetworkId',
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './Cip30Wallet';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './Cip30Wallet.js';
|
|
2
|
+
export * from './types.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './Cip30Wallet';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './Cip30Wallet.js';
|
|
2
|
+
export * from './types.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './ApiError';
|
|
2
|
-
export * from './DataSignError';
|
|
3
|
-
export * from './PaginateError';
|
|
4
|
-
export * from './TxSendError';
|
|
5
|
-
export * from './TxSignError';
|
|
1
|
+
export * from './ApiError.js';
|
|
2
|
+
export * from './DataSignError.js';
|
|
3
|
+
export * from './PaginateError.js';
|
|
4
|
+
export * from './TxSendError.js';
|
|
5
|
+
export * from './TxSignError.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/errors/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './ApiError';
|
|
2
|
-
export * from './DataSignError';
|
|
3
|
-
export * from './PaginateError';
|
|
4
|
-
export * from './TxSendError';
|
|
5
|
-
export * from './TxSignError';
|
|
1
|
+
export * from './ApiError.js';
|
|
2
|
+
export * from './DataSignError.js';
|
|
3
|
+
export * from './PaginateError.js';
|
|
4
|
+
export * from './TxSendError.js';
|
|
5
|
+
export * from './TxSignError.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './errors';
|
|
2
|
-
export * from './WalletApi';
|
|
3
|
-
export * from './AuthenticatorApi';
|
|
4
|
-
export * from './injectGlobal';
|
|
5
|
-
export * from './util';
|
|
1
|
+
export * from './errors/index.js';
|
|
2
|
+
export * from './WalletApi/index.js';
|
|
3
|
+
export * from './AuthenticatorApi/index.js';
|
|
4
|
+
export * from './injectGlobal.js';
|
|
5
|
+
export * from './util.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './errors';
|
|
2
|
-
export * from './WalletApi';
|
|
3
|
-
export * from './AuthenticatorApi';
|
|
4
|
-
export * from './injectGlobal';
|
|
5
|
-
export * from './util';
|
|
1
|
+
export * from './errors/index.js';
|
|
2
|
+
export * from './WalletApi/index.js';
|
|
3
|
+
export * from './AuthenticatorApi/index.js';
|
|
4
|
+
export * from './injectGlobal.js';
|
|
5
|
+
export * from './util.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|