@nexus-cross/connect-kit-core 1.1.2 → 1.1.3-beta.1
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/core/ports/OAuthPort.d.ts +11 -0
- package/dist/core/ports/OAuthPort.d.ts.map +1 -0
- package/dist/core/ports/OAuthPort.js +2 -0
- package/dist/core/ports/OAuthPort.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type OAuthProvider = 'google' | 'apple';
|
|
2
|
+
/**
|
|
3
|
+
* Entry-point port for social sign-in. The UI layer only calls `signIn` and
|
|
4
|
+
* forgets — the underlying SDK is responsible for opening the OAuth popup,
|
|
5
|
+
* exchanging tokens, and waking the wagmi connector. Errors are owned by the
|
|
6
|
+
* SDK side (the UI does not display them; see CLAUDE.md §6).
|
|
7
|
+
*/
|
|
8
|
+
export interface OAuthPort {
|
|
9
|
+
signIn(provider: OAuthProvider): Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=OAuthPort.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OAuthPort.d.ts","sourceRoot":"","sources":["../../../src/core/ports/OAuthPort.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE/C;;;;;GAKG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,CAAC,QAAQ,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAChD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OAuthPort.js","sourceRoot":"","sources":["../../../src/core/ports/OAuthPort.ts"],"names":[],"mappings":""}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export type { ModalControlPort } from './core/ports/ModalControlPort.js';
|
|
|
4
4
|
export type { ThemePort } from './core/ports/ThemePort.js';
|
|
5
5
|
export type { WalletDetectionPort } from './core/ports/WalletDetectionPort.js';
|
|
6
6
|
export type { BalancePort } from './core/ports/BalancePort.js';
|
|
7
|
+
export type { OAuthPort, OAuthProvider } from './core/ports/OAuthPort.js';
|
|
7
8
|
export type { ConnectorType, WalletId, WalletDescriptor, ConnectorResult, Account, ChainBalance, WalletState, ModalView, Theme, ThemeMode, ColorOverrides, ThemeTokens, CrossConnectKitConfig, AppMetadata, NetworkConfig, Unsubscribe, } from './core/types/index.js';
|
|
8
9
|
export { ConnectionStatus } from './core/types/index.js';
|
|
9
10
|
export { DEFAULT_THEME_TOKENS, CCK_VAR, resolveColorTokens, resolveThemeMode, buildThemeCssText, themeTokensToInlineStyle, } from './core/theme/tokens.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,YAAY,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,YAAY,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,YAAY,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,YAAY,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,YAAY,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,YAAY,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,YAAY,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,YAAY,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,YAAY,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,YAAY,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAG1E,YAAY,EACV,aAAa,EACb,QAAQ,EACR,gBAAgB,EAChB,eAAe,EACf,OAAO,EACP,YAAY,EACZ,WAAW,EACX,SAAS,EACT,KAAK,EACL,SAAS,EACT,cAAc,EACd,WAAW,EACX,qBAAqB,EACrB,WAAW,EACX,aAAa,EACb,WAAW,GACZ,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAKzD,OAAO,EACL,oBAAoB,EACpB,OAAO,EACP,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,GACzB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA6BA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,yEAAyE;AACzE,sEAAsE;AACtE,sDAAsD;AACtD,OAAO,EACL,oBAAoB,EACpB,OAAO,EACP,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,GACzB,MAAM,wBAAwB,CAAC;AAEhC,YAAY;AACZ,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC"}
|