@dynamic-labs/types 2.0.0-alpha.28 → 2.0.0-alpha.29

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,25 @@
1
1
 
2
+ ## [2.0.0-alpha.29](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.28...v2.0.0-alpha.29) (2024-04-10)
3
+
4
+
5
+ ### ⚠ BREAKING CHANGES
6
+
7
+ * replace sdk-api with sdk-api-core (#5280)
8
+
9
+ ### Features
10
+
11
+ * add dynamic client context ([#5250](https://github.com/dynamic-labs/DynamicAuth/issues/5250)) ([778ebe6](https://github.com/dynamic-labs/DynamicAuth/commit/778ebe6313e0bf3c9876feb6eff5bf152c15c55e))
12
+ * **webview-controller:** fetch manifest and render Dynamic SDK ([#5287](https://github.com/dynamic-labs/DynamicAuth/issues/5287)) ([00e84ac](https://github.com/dynamic-labs/DynamicAuth/commit/00e84acc4bdda92bad91108788f8d7882d0790d6))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * don't render modal header component if there's no content ([#5269](https://github.com/dynamic-labs/DynamicAuth/issues/5269)) ([f4d7266](https://github.com/dynamic-labs/DynamicAuth/commit/f4d72668a5243108649774c6581733655f385cab))
18
+ * don't show get extension button when there are no download links ([#5276](https://github.com/dynamic-labs/DynamicAuth/issues/5276)) ([e8cf660](https://github.com/dynamic-labs/DynamicAuth/commit/e8cf66076a9914881a8edda69feb2fb192ac63a3))
19
+
20
+
21
+ * replace sdk-api with sdk-api-core ([#5280](https://github.com/dynamic-labs/DynamicAuth/issues/5280)) ([da4b695](https://github.com/dynamic-labs/DynamicAuth/commit/da4b6955a81d6bfb5c994cd62e21e9ae11a4f454))
22
+
2
23
  ## [2.0.0-alpha.28](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.27...v2.0.0-alpha.28) (2024-04-10)
3
24
 
4
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/types",
3
- "version": "2.0.0-alpha.28",
3
+ "version": "2.0.0-alpha.29",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -26,7 +26,7 @@
26
26
  "./package.json": "./package.json"
27
27
  },
28
28
  "dependencies": {
29
- "@dynamic-labs/sdk-api": "0.0.410"
29
+ "@dynamic-labs/sdk-api-core": "0.0.415"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "viem": "^2.7.6"
package/src/index.cjs CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var sdkApi = require('@dynamic-labs/sdk-api');
5
+ var sdkApiCore = require('@dynamic-labs/sdk-api-core');
6
6
  var index = require('./oauth/index.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, 'ProviderEnum', {
11
11
  enumerable: true,
12
- get: function () { return sdkApi.ProviderEnum; }
12
+ get: function () { return sdkApiCore.ProviderEnum; }
13
13
  });
14
14
  Object.defineProperty(exports, 'SocialOAuthErrorCode', {
15
15
  enumerable: true,
package/src/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { ProviderEnum } from '@dynamic-labs/sdk-api';
1
+ export { ProviderEnum } from '@dynamic-labs/sdk-api-core';
2
2
  export * from './networks';
3
3
  export * from './oauth';
4
4
  export * from './transaction';
package/src/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { ProviderEnum } from '@dynamic-labs/sdk-api';
1
+ export { ProviderEnum } from '@dynamic-labs/sdk-api-core';
2
2
  export { SocialOAuthErrorCode } from './oauth/index.js';
package/src/networks.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type NetworkConfiguration } from '@dynamic-labs/sdk-api';
1
+ import { type NetworkConfiguration } from '@dynamic-labs/sdk-api-core';
2
2
  export type GenericNetwork = Omit<NetworkConfiguration, 'chainId' | 'networkId' | 'shortName' | 'chain'> & {
3
3
  chainId: number | string;
4
4
  networkId: number | string;
@@ -1,4 +1,4 @@
1
- import { ProviderEnum, SocialSignInProviderEnum } from '@dynamic-labs/sdk-api';
1
+ import { ProviderEnum, SocialSignInProviderEnum } from '@dynamic-labs/sdk-api-core';
2
2
  export type SocialProviderFilter = (providers: SocialSignInProviderEnum[]) => SocialSignInProviderEnum[];
3
3
  export type SocialAccountInformation = {
4
4
  accountId?: string;