@tuwaio/siwx-server 0.7.1 → 0.7.2
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/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SiwxSession, a as SiwxJwtKey, b as SiwxJwks, c as SiwxPublicJwk, d as SiwxJwtPayload, e as SiwxJwtAlgorithm } from './server-
|
|
2
|
-
export { C as CookieOptions, G as GetSiwxServerSessionOptions, M as MemorySiwxNonceStore, f as MemorySiwxSessionStore, g as ServerVerifyOptions, h as ServerVerifyResult, i as SiwxJwtOptions, j as SiwxNonceStore, k as SiwxSessionRecord, l as SiwxSessionStore, m as SiwxVerificationMethod, n as StatelessDemoLimits, o as StatelessDemoTokenPayload, p as createClearCookie, q as createSessionCookie, r as getSiwxServerSession, s as issueStatelessDemoNonce, t as parseCookie, u as signStatelessDemoSession, v as toSession, w as verifySiwxPayload, x as verifyStatelessDemoNonce, y as verifyStatelessDemoSession } from './server-
|
|
1
|
+
import { S as SiwxSession, a as SiwxJwtKey, b as SiwxJwks, c as SiwxPublicJwk, d as SiwxJwtPayload, e as SiwxJwtAlgorithm } from './server-JNFafIiy.mjs';
|
|
2
|
+
export { C as CookieOptions, G as GetSiwxServerSessionOptions, M as MemorySiwxNonceStore, f as MemorySiwxSessionStore, g as ServerVerifyOptions, h as ServerVerifyResult, i as SiwxJwtOptions, j as SiwxNonceStore, k as SiwxSessionRecord, l as SiwxSessionStore, m as SiwxVerificationMethod, n as StatelessDemoLimits, o as StatelessDemoTokenPayload, p as createClearCookie, q as createSessionCookie, r as getSiwxServerSession, s as issueStatelessDemoNonce, t as parseCookie, u as signStatelessDemoSession, v as toSession, w as verifySiwxPayload, x as verifyStatelessDemoNonce, y as verifyStatelessDemoSession } from './server-JNFafIiy.mjs';
|
|
3
3
|
export { ParsedSiwxMessage, SiwxMessageFields, SiwxSessionLike, SiwxVerificationPolicy, ValidateMessageOptions, generateNonce, generateNonce as generateServerNonce, isSessionMatchingTarget, validateMessage, validatePolicy } from '@tuwaio/siwx-core';
|
|
4
4
|
import '@tuwaio/siwx-evm';
|
|
5
5
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SiwxSession, a as SiwxJwtKey, b as SiwxJwks, c as SiwxPublicJwk, d as SiwxJwtPayload, e as SiwxJwtAlgorithm } from './server-
|
|
2
|
-
export { C as CookieOptions, G as GetSiwxServerSessionOptions, M as MemorySiwxNonceStore, f as MemorySiwxSessionStore, g as ServerVerifyOptions, h as ServerVerifyResult, i as SiwxJwtOptions, j as SiwxNonceStore, k as SiwxSessionRecord, l as SiwxSessionStore, m as SiwxVerificationMethod, n as StatelessDemoLimits, o as StatelessDemoTokenPayload, p as createClearCookie, q as createSessionCookie, r as getSiwxServerSession, s as issueStatelessDemoNonce, t as parseCookie, u as signStatelessDemoSession, v as toSession, w as verifySiwxPayload, x as verifyStatelessDemoNonce, y as verifyStatelessDemoSession } from './server-
|
|
1
|
+
import { S as SiwxSession, a as SiwxJwtKey, b as SiwxJwks, c as SiwxPublicJwk, d as SiwxJwtPayload, e as SiwxJwtAlgorithm } from './server-JNFafIiy.js';
|
|
2
|
+
export { C as CookieOptions, G as GetSiwxServerSessionOptions, M as MemorySiwxNonceStore, f as MemorySiwxSessionStore, g as ServerVerifyOptions, h as ServerVerifyResult, i as SiwxJwtOptions, j as SiwxNonceStore, k as SiwxSessionRecord, l as SiwxSessionStore, m as SiwxVerificationMethod, n as StatelessDemoLimits, o as StatelessDemoTokenPayload, p as createClearCookie, q as createSessionCookie, r as getSiwxServerSession, s as issueStatelessDemoNonce, t as parseCookie, u as signStatelessDemoSession, v as toSession, w as verifySiwxPayload, x as verifyStatelessDemoNonce, y as verifyStatelessDemoSession } from './server-JNFafIiy.js';
|
|
3
3
|
export { ParsedSiwxMessage, SiwxMessageFields, SiwxSessionLike, SiwxVerificationPolicy, ValidateMessageOptions, generateNonce, generateNonce as generateServerNonce, isSessionMatchingTarget, validateMessage, validatePolicy } from '@tuwaio/siwx-core';
|
|
4
4
|
import '@tuwaio/siwx-evm';
|
|
5
5
|
|
package/dist/next.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SiwxVerificationPolicy } from '@tuwaio/siwx-core';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { i as SiwxJwtOptions } from './server-JNFafIiy.mjs';
|
|
3
|
+
import { SiwxSessionStore, SiwxNonceStore, CookieOptions, ServerVerifyOptions, StatelessDemoLimits } from './index.mjs';
|
|
4
|
+
export { G as GetSiwxServerSessionOptions, r as getSiwxServerSession } from './server-JNFafIiy.mjs';
|
|
4
5
|
import '@tuwaio/siwx-evm';
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -169,4 +170,5 @@ declare function createStatelessDemoSiwxHandler(options: StatelessDemoSiwxHandle
|
|
|
169
170
|
DELETE: (req: Request) => Promise<Response>;
|
|
170
171
|
};
|
|
171
172
|
|
|
172
|
-
export {
|
|
173
|
+
export { SiwxJwtOptions, createSiwxApiHandler, createStatelessDemoSiwxHandler };
|
|
174
|
+
export type { SiwxApiHandlerOptions, StatelessDemoSiwxHandlerOptions };
|
package/dist/next.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SiwxVerificationPolicy } from '@tuwaio/siwx-core';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { i as SiwxJwtOptions } from './server-JNFafIiy.js';
|
|
3
|
+
import { SiwxSessionStore, SiwxNonceStore, CookieOptions, ServerVerifyOptions, StatelessDemoLimits } from './index.js';
|
|
4
|
+
export { G as GetSiwxServerSessionOptions, r as getSiwxServerSession } from './server-JNFafIiy.js';
|
|
4
5
|
import '@tuwaio/siwx-evm';
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -169,4 +170,5 @@ declare function createStatelessDemoSiwxHandler(options: StatelessDemoSiwxHandle
|
|
|
169
170
|
DELETE: (req: Request) => Promise<Response>;
|
|
170
171
|
};
|
|
171
172
|
|
|
172
|
-
export {
|
|
173
|
+
export { SiwxJwtOptions, createSiwxApiHandler, createStatelessDemoSiwxHandler };
|
|
174
|
+
export type { SiwxApiHandlerOptions, StatelessDemoSiwxHandlerOptions };
|
|
@@ -574,4 +574,5 @@ declare class MemorySiwxNonceStore implements SiwxNonceStore {
|
|
|
574
574
|
*/
|
|
575
575
|
declare function getSiwxServerSession(options: GetSiwxServerSessionOptions): Promise<SiwxSession | null>;
|
|
576
576
|
|
|
577
|
-
export {
|
|
577
|
+
export { MemorySiwxNonceStore as M, MemorySiwxSessionStore as f, createClearCookie as p, createSessionCookie as q, getSiwxServerSession as r, issueStatelessDemoNonce as s, parseCookie as t, signStatelessDemoSession as u, toSession as v, verifySiwxPayload as w, verifyStatelessDemoNonce as x, verifyStatelessDemoSession as y };
|
|
578
|
+
export type { CookieOptions as C, GetSiwxServerSessionOptions as G, SiwxSession as S, SiwxJwtKey as a, SiwxJwks as b, SiwxPublicJwk as c, SiwxJwtPayload as d, SiwxJwtAlgorithm as e, ServerVerifyOptions as g, ServerVerifyResult as h, SiwxJwtOptions as i, SiwxNonceStore as j, SiwxSessionRecord as k, SiwxSessionStore as l, SiwxVerificationMethod as m, StatelessDemoLimits as n, StatelessDemoTokenPayload as o };
|
|
@@ -574,4 +574,5 @@ declare class MemorySiwxNonceStore implements SiwxNonceStore {
|
|
|
574
574
|
*/
|
|
575
575
|
declare function getSiwxServerSession(options: GetSiwxServerSessionOptions): Promise<SiwxSession | null>;
|
|
576
576
|
|
|
577
|
-
export {
|
|
577
|
+
export { MemorySiwxNonceStore as M, MemorySiwxSessionStore as f, createClearCookie as p, createSessionCookie as q, getSiwxServerSession as r, issueStatelessDemoNonce as s, parseCookie as t, signStatelessDemoSession as u, toSession as v, verifySiwxPayload as w, verifyStatelessDemoNonce as x, verifyStatelessDemoSession as y };
|
|
578
|
+
export type { CookieOptions as C, GetSiwxServerSessionOptions as G, SiwxSession as S, SiwxJwtKey as a, SiwxJwks as b, SiwxPublicJwk as c, SiwxJwtPayload as d, SiwxJwtAlgorithm as e, ServerVerifyOptions as g, ServerVerifyResult as h, SiwxJwtOptions as i, SiwxNonceStore as j, SiwxSessionRecord as k, SiwxSessionStore as l, SiwxVerificationMethod as m, StatelessDemoLimits as n, StatelessDemoTokenPayload as o };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuwaio/siwx-server",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Oleksandr Tkach",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -87,13 +87,13 @@
|
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@tuwaio/orbit-core": "^0.
|
|
91
|
-
"@tuwaio/siwx-core": "0.7.
|
|
92
|
-
"@tuwaio/siwx-evm": "0.5.
|
|
93
|
-
"@tuwaio/siwx-solana": "0.6.
|
|
94
|
-
"tsup": "^
|
|
90
|
+
"@tuwaio/orbit-core": "^0.6.0",
|
|
91
|
+
"@tuwaio/siwx-core": "0.7.1",
|
|
92
|
+
"@tuwaio/siwx-evm": "0.5.2",
|
|
93
|
+
"@tuwaio/siwx-solana": "0.6.2",
|
|
94
|
+
"tsup": "^9.0.0",
|
|
95
95
|
"typescript": "6.0.3",
|
|
96
|
-
"viem": "^2.57.
|
|
96
|
+
"viem": "^2.57.7"
|
|
97
97
|
},
|
|
98
98
|
"scripts": {
|
|
99
99
|
"start": "tsup src/index.ts --watch",
|