@dynamic-labs/spark 4.103.0 → 4.105.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/CHANGELOG.md CHANGED
@@ -1,4 +1,32 @@
1
1
 
2
+ ## [4.105.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.104.0...v4.105.0) (2026-11-13)
3
+
4
+
5
+ ### Features
6
+
7
+ * **bitcoin:** add allowedWitnessScripts to embedded wallet signPsbt [v4] ([#12693](https://github.com/dynamic-labs/dynamic-auth/issues/12693)) ([3804839](https://github.com/dynamic-labs/dynamic-auth/commit/38048395d89896536a03ff3668b46b2ae0e32eef)), closes [#12575](https://github.com/dynamic-labs/dynamic-auth/issues/12575)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **sdk-react-core:** reject sanctioned wallets on connect in connect-only mode [v4] ([#12756](https://github.com/dynamic-labs/dynamic-auth/issues/12756)) ([1786b49](https://github.com/dynamic-labs/dynamic-auth/commit/1786b498a21489a5bbb35357c336ee96adc03242)), closes [#12754](https://github.com/dynamic-labs/dynamic-auth/issues/12754) [#12754](https://github.com/dynamic-labs/dynamic-auth/issues/12754) [#12754](https://github.com/dynamic-labs/dynamic-auth/issues/12754)
13
+
14
+ ## [4.104.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.103.0...v4.104.0) (2026-11-03)
15
+
16
+
17
+ ### Features
18
+
19
+ * **sdk-react-core:** offer passkey recovery when export fails in upgrade flow [v4] ([#12641](https://github.com/dynamic-labs/dynamic-auth/issues/12641)) ([916829f](https://github.com/dynamic-labs/dynamic-auth/commit/916829f1eaf9f6cae7d8c0b5069512fceafa15a4))
20
+ * **webview:** forward policiesConsentLabels manifest field to SDK settings [v4] ([#12608](https://github.com/dynamic-labs/dynamic-auth/issues/12608)) ([b9ef167](https://github.com/dynamic-labs/dynamic-auth/commit/b9ef1676576eea8452c7149308492aea578b6c91))
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * **iconic:** add Zerion wallet icon [v4] ([#12651](https://github.com/dynamic-labs/dynamic-auth/issues/12651)) ([f5257ee](https://github.com/dynamic-labs/dynamic-auth/commit/f5257ee28fc7e8d46657957f59c13503e7eccce8))
26
+ * **react-native:** serialize WalletConnect native storage values as JSON strings ([#12682](https://github.com/dynamic-labs/dynamic-auth/issues/12682)) ([df2795a](https://github.com/dynamic-labs/dynamic-auth/commit/df2795aa432a94e429859082468b89705226dc70))
27
+ * **sdk-react-core:** default wallet return redirectUrl to current page [v4] ([#12660](https://github.com/dynamic-labs/dynamic-auth/issues/12660)) ([29b8f38](https://github.com/dynamic-labs/dynamic-auth/commit/29b8f380858ef65c52187aeb50123a287eb7b4ec))
28
+ * **waas-svm:** keep the blockhash of a transaction another key already signed ([#12678](https://github.com/dynamic-labs/dynamic-auth/issues/12678)) ([549553c](https://github.com/dynamic-labs/dynamic-auth/commit/549553c1275b3cc3995e183966a32a5f6ae63534)), closes [#12676](https://github.com/dynamic-labs/dynamic-auth/issues/12676)
29
+
2
30
  ## [4.103.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.102.0...v4.103.0) (2026-10-27)
3
31
 
4
32
 
package/README.md CHANGED
@@ -4,7 +4,6 @@ A Spark wallet connector package for the Dynamic SDK that enables seamless integ
4
4
 
5
5
  ## Features
6
6
 
7
- - **Magic Eden Wallet Support** - Full integration with Magic Eden's Spark wallet
8
7
  - **Flexible Provider Interface** - Easy to add support for additional Spark wallets
9
8
  - **Bitcoin Transfers** - Send Bitcoin to Spark addresses with optional Taproot support
10
9
  - **Token Transfers** - Transfer tokens between Spark addresses
@@ -17,18 +16,6 @@ A Spark wallet connector package for the Dynamic SDK that enables seamless integ
17
16
  npm install @dynamic-labs/spark
18
17
  ```
19
18
 
20
- ## 🔌 Supported Wallets
21
-
22
- ### Magic Eden
23
-
24
- The package includes full support for Magic Eden's Spark wallet implementation, which provides:
25
-
26
- - **Connection Management** - Seamless wallet connection and disconnection
27
- - **Address Retrieval** - Get current wallet address
28
- - **Message Signing** - Sign messages for authentication with optional Taproot support
29
- - **Bitcoin Transfers** - Send Bitcoin to other Spark addresses
30
- - **Token Transfers** - Transfer tokens between Spark addresses
31
-
32
19
  ## Architecture
33
20
 
34
21
  ### Base Connector Class
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.103.0";
6
+ var version = "4.105.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.103.0";
2
+ var version = "4.105.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/spark",
3
- "version": "4.103.0",
3
+ "version": "4.105.0",
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",
@@ -18,12 +18,11 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs/assert-package-version": "4.103.0",
21
+ "@dynamic-labs/assert-package-version": "4.105.0",
22
22
  "sats-connect": "4.2.1",
23
- "@dynamic-labs/types": "4.103.0",
24
- "@dynamic-labs/utils": "4.103.0",
25
- "@dynamic-labs/wallet-book": "4.103.0",
26
- "@dynamic-labs/wallet-connector-core": "4.103.0"
23
+ "@dynamic-labs/types": "4.105.0",
24
+ "@dynamic-labs/wallet-book": "4.105.0",
25
+ "@dynamic-labs/wallet-connector-core": "4.105.0"
27
26
  },
28
27
  "peerDependencies": {}
29
28
  }
@@ -92,7 +92,7 @@ class SparkWalletConnector extends walletConnectorCore.WalletConnectorBase {
92
92
  */
93
93
  getNetwork() {
94
94
  return _tslib.__awaiter(this, void 0, void 0, function* () {
95
- // MagicEden and XVerse are only supporting mainnet at the moment
95
+ // Spark wallets only support mainnet at the moment
96
96
  // This should be expanded is anyone ever supports testnet or regtest
97
97
  // We can detect netowrk using addresses in the future if we want
98
98
  return '301';
@@ -88,7 +88,7 @@ class SparkWalletConnector extends WalletConnectorBase {
88
88
  */
89
89
  getNetwork() {
90
90
  return __awaiter(this, void 0, void 0, function* () {
91
- // MagicEden and XVerse are only supporting mainnet at the moment
91
+ // Spark wallets only support mainnet at the moment
92
92
  // This should be expanded is anyone ever supports testnet or regtest
93
93
  // We can detect netowrk using addresses in the future if we want
94
94
  return '301';
@@ -1,3 +1,2 @@
1
- export * from './MagicEdenSparkConnector';
2
1
  export * from './SparkSatsConnectConnector';
3
2
  export * from './SparkWalletConnector';
package/src/types.d.ts CHANGED
@@ -5,11 +5,6 @@ declare global {
5
5
  interface IWindowSpark {
6
6
  SparkProvider: ISparkProvider;
7
7
  }
8
- interface Window {
9
- magicEden?: {
10
- spark: ISparkProvider;
11
- };
12
- }
13
8
  }
14
9
  /**
15
10
  * Interface that all Spark wallet providers must implement.
@@ -31,7 +26,7 @@ declare global {
31
26
  *
32
27
  * ## Usage Examples
33
28
  * ```typescript
34
- * // Magic Eden style (sparkAddress naming)
29
+ * // sparkAddress naming style
35
30
  * const result = await provider.connect();
36
31
  * // result can be: string | { sparkAddress: string, sparkTaprootAddress?: string }
37
32
  *
@@ -1,29 +0,0 @@
1
- import { SparkWalletConnector, SparkWalletConnectorOpts } from '../SparkWalletConnector';
2
- import type { ISparkProvider } from '../../types';
3
- /**
4
- * Magic Eden Spark wallet connector implementation.
5
- *
6
- * Handles Magic Eden's specific interface requirements while leveraging
7
- * the base class's flexible type handling.
8
- */
9
- export declare class MagicEdenSparkConnector extends SparkWalletConnector {
10
- /** Human-readable connector name */
11
- name: string;
12
- /** Unique identifier for this connector type */
13
- overrideKey: string;
14
- /**
15
- * Creates a new Magic Eden Spark connector
16
- * @param opts - Configuration options
17
- */
18
- constructor(opts: SparkWalletConnectorOpts);
19
- /**
20
- * Returns the Magic Eden Spark provider from the window object
21
- * @returns The SparkProvider instance, or undefined if not available
22
- */
23
- getProvider(): ISparkProvider | undefined;
24
- /**
25
- * Retrieves the wallet address with Magic Eden specific error handling
26
- * @returns The wallet address as a string, or undefined if unavailable
27
- */
28
- getAddress(): Promise<string | undefined>;
29
- }
@@ -1 +0,0 @@
1
- export * from './MagicEdenSparkConnector';