@dynamic-labs/eclipse 4.0.0-alpha.45 → 4.0.0-alpha.47
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/CHANGELOG.md +28 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +10 -10
- package/src/wallet/EclipseWallet.cjs +12 -0
- package/src/wallet/EclipseWallet.d.ts +10 -0
- package/src/wallet/EclipseWallet.js +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.0.0-alpha.47](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.46...v4.0.0-alpha.47) (2024-12-17)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### ⚠ BREAKING CHANGES
|
|
6
|
+
|
|
7
|
+
* stop exposing authToken and minAuthToken from dynamic context (#7629)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* allow re-linking unknown wallet when there's another account of the same wallet provider already linked ([#7628](https://github.com/dynamic-labs/dynamic-auth/issues/7628)) ([20c6dc3](https://github.com/dynamic-labs/dynamic-auth/commit/20c6dc3b1847d82bd46f0df5abaef4efe1e24e38))
|
|
12
|
+
* ensure wallet connector will not get removed ([#7625](https://github.com/dynamic-labs/dynamic-auth/issues/7625)) ([b764846](https://github.com/dynamic-labs/dynamic-auth/commit/b764846b56428e2997d33858e29a87f44359eb6c))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* stop exposing authToken and minAuthToken from dynamic context ([#7629](https://github.com/dynamic-labs/dynamic-auth/issues/7629)) ([9648870](https://github.com/dynamic-labs/dynamic-auth/commit/9648870478cdcecde279117ada2a1095dab54e2c))
|
|
16
|
+
|
|
17
|
+
## [4.0.0-alpha.46](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.45...v4.0.0-alpha.46) (2024-12-17)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **GVTY-2484:** add subdomain handle field ([#7613](https://github.com/dynamic-labs/dynamic-auth/issues/7613)) ([ee8df3b](https://github.com/dynamic-labs/dynamic-auth/commit/ee8df3b34fa9fed96d92d0b414334c370c9791bc))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* increase wait for transactions ([#7624](https://github.com/dynamic-labs/dynamic-auth/issues/7624)) ([2f7f01b](https://github.com/dynamic-labs/dynamic-auth/commit/2f7f01b024c2733f71ea0fd09dff24f815120acb))
|
|
28
|
+
* solana wallet standard signer connect ([#7614](https://github.com/dynamic-labs/dynamic-auth/issues/7614)) ([1836cf3](https://github.com/dynamic-labs/dynamic-auth/commit/1836cf343b45bae01cfdcf0c0d010bf38bf54d83))
|
|
29
|
+
|
|
2
30
|
## [4.0.0-alpha.45](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.44...v4.0.0-alpha.45) (2024-12-11)
|
|
3
31
|
|
|
4
32
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/eclipse",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.47",
|
|
4
4
|
"description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@solana/web3.js": "1.92.1",
|
|
22
|
-
"@dynamic-labs/assert-package-version": "4.0.0-alpha.
|
|
23
|
-
"@dynamic-labs/rpc-providers": "4.0.0-alpha.
|
|
24
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
25
|
-
"@dynamic-labs/solana": "4.0.0-alpha.
|
|
26
|
-
"@dynamic-labs/solana-core": "4.0.0-alpha.
|
|
27
|
-
"@dynamic-labs/types": "4.0.0-alpha.
|
|
28
|
-
"@dynamic-labs/utils": "4.0.0-alpha.
|
|
29
|
-
"@dynamic-labs/wallet-book": "4.0.0-alpha.
|
|
30
|
-
"@dynamic-labs/wallet-connector-core": "4.0.0-alpha.
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.0.0-alpha.47",
|
|
23
|
+
"@dynamic-labs/rpc-providers": "4.0.0-alpha.47",
|
|
24
|
+
"@dynamic-labs/sdk-api-core": "0.0.576",
|
|
25
|
+
"@dynamic-labs/solana": "4.0.0-alpha.47",
|
|
26
|
+
"@dynamic-labs/solana-core": "4.0.0-alpha.47",
|
|
27
|
+
"@dynamic-labs/types": "4.0.0-alpha.47",
|
|
28
|
+
"@dynamic-labs/utils": "4.0.0-alpha.47",
|
|
29
|
+
"@dynamic-labs/wallet-book": "4.0.0-alpha.47",
|
|
30
|
+
"@dynamic-labs/wallet-connector-core": "4.0.0-alpha.47"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {}
|
|
33
33
|
}
|
|
@@ -3,9 +3,21 @@
|
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
|
+
var _tslib = require('../../_virtual/_tslib.cjs');
|
|
6
7
|
var walletConnectorCore = require('@dynamic-labs/wallet-connector-core');
|
|
7
8
|
|
|
8
9
|
class EclipseWallet extends walletConnectorCore.Wallet {
|
|
10
|
+
/**
|
|
11
|
+
* Sends the native balance of the wallet to the given address.
|
|
12
|
+
* @param amount - The amount of balance to send (in Eclipse SOL).
|
|
13
|
+
* @param toAddress - The address to send the balance to.
|
|
14
|
+
* @returns The signature of the sent transaction.
|
|
15
|
+
*/
|
|
16
|
+
sendBalance(_a) {
|
|
17
|
+
return _tslib.__awaiter(this, arguments, void 0, function* ({ amount, toAddress, }) {
|
|
18
|
+
throw new Error('Not implemented');
|
|
19
|
+
});
|
|
20
|
+
}
|
|
9
21
|
}
|
|
10
22
|
|
|
11
23
|
exports.EclipseWallet = EclipseWallet;
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import { Wallet } from '@dynamic-labs/wallet-connector-core';
|
|
2
2
|
import { EclipseWalletConnector } from '../connectors';
|
|
3
3
|
export declare class EclipseWallet extends Wallet<EclipseWalletConnector> {
|
|
4
|
+
/**
|
|
5
|
+
* Sends the native balance of the wallet to the given address.
|
|
6
|
+
* @param amount - The amount of balance to send (in Eclipse SOL).
|
|
7
|
+
* @param toAddress - The address to send the balance to.
|
|
8
|
+
* @returns The signature of the sent transaction.
|
|
9
|
+
*/
|
|
10
|
+
sendBalance({ amount, toAddress, }: {
|
|
11
|
+
amount: string;
|
|
12
|
+
toAddress: string;
|
|
13
|
+
}): Promise<string | undefined>;
|
|
4
14
|
}
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
'use client'
|
|
2
|
+
import { __awaiter } from '../../_virtual/_tslib.js';
|
|
2
3
|
import { Wallet } from '@dynamic-labs/wallet-connector-core';
|
|
3
4
|
|
|
4
5
|
class EclipseWallet extends Wallet {
|
|
6
|
+
/**
|
|
7
|
+
* Sends the native balance of the wallet to the given address.
|
|
8
|
+
* @param amount - The amount of balance to send (in Eclipse SOL).
|
|
9
|
+
* @param toAddress - The address to send the balance to.
|
|
10
|
+
* @returns The signature of the sent transaction.
|
|
11
|
+
*/
|
|
12
|
+
sendBalance(_a) {
|
|
13
|
+
return __awaiter(this, arguments, void 0, function* ({ amount, toAddress, }) {
|
|
14
|
+
throw new Error('Not implemented');
|
|
15
|
+
});
|
|
16
|
+
}
|
|
5
17
|
}
|
|
6
18
|
|
|
7
19
|
export { EclipseWallet };
|