@atproto/oauth-client-node 0.2.8 → 0.2.10
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/node-dpop-store.d.ts +1 -1
- package/dist/node-dpop-store.d.ts.map +1 -1
- package/dist/node-dpop-store.js.map +1 -1
- package/dist/node-oauth-client.d.ts +1 -1
- package/dist/node-oauth-client.d.ts.map +1 -1
- package/dist/node-oauth-client.js +1 -1
- package/dist/node-oauth-client.js.map +1 -1
- package/package.json +13 -10
@@ -1,6 +1,6 @@
|
|
1
|
-
import { SimpleStore } from '@atproto-labs/simple-store';
|
2
1
|
import { Jwk, Key } from '@atproto/jwk';
|
3
2
|
import { InternalStateData, Session } from '@atproto/oauth-client';
|
3
|
+
import { SimpleStore } from '@atproto-labs/simple-store';
|
4
4
|
type ToDpopJwkValue<V extends {
|
5
5
|
dpopKey: Key;
|
6
6
|
}> = Omit<V, 'dpopKey'> & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"node-dpop-store.d.ts","sourceRoot":"","sources":["../src/node-dpop-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"node-dpop-store.d.ts","sourceRoot":"","sources":["../src/node-dpop-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,cAAc,CAAA;AAEvC,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAExD,KAAK,cAAc,CAAC,CAAC,SAAS;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,IAAI,IAAI,CAAC,CAAC,EAAE,SAAS,CAAC,GAAG;IACrE,OAAO,EAAE,GAAG,CAAA;CACb,CAAA;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,EACzE,KAAK,EAAE,WAAW,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,GACvC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,CAqBnB;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,iBAAiB,CAAC,CAAA;AAC9D,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;AAErE,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,CAAC,CAAA;AACtD,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"node-dpop-store.js","sourceRoot":"","sources":["../src/node-dpop-store.ts"],"names":[],"mappings":";;AAaA,wCAuBC;
|
1
|
+
{"version":3,"file":"node-dpop-store.js","sourceRoot":"","sources":["../src/node-dpop-store.ts"],"names":[],"mappings":";;AAaA,wCAuBC;AAnCD,gDAA2C;AAQ3C;;;GAGG;AACH,SAAgB,cAAc,CAC5B,KAAwC;IAExC,OAAO;QACL,KAAK,CAAC,GAAG,CAAC,GAAM,EAAE,EAAE,OAAO,EAAE,GAAG,IAAI,EAAK;YACvC,MAAM,OAAO,GAAG,OAAO,CAAC,UAAU,CAAA;YAClC,IAAI,CAAC,OAAO;gBAAE,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAA;YAE7D,MAAM,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,CAAC,CAAA;QAC5C,CAAC;QAED,KAAK,CAAC,GAAG,CAAC,GAAM;YACd,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;YACnC,IAAI,CAAC,MAAM;gBAAE,OAAO,SAAS,CAAA;YAE7B,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAA;YACnC,MAAM,OAAO,GAAG,MAAM,kBAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;YAC9C,OAAO,EAAE,GAAG,IAAI,EAAE,OAAO,EAAkB,CAAA;QAC7C,CAAC;QAED,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC;QAC1B,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;KAChC,CAAA;AACH,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { AtprotoHandleResolverNodeOptions } from '@atproto-labs/handle-resolver-node';
|
2
1
|
import { OAuthClient, OAuthClientFetchMetadataOptions, OAuthClientOptions, RuntimeLock } from '@atproto/oauth-client';
|
3
2
|
import { OAuthResponseMode } from '@atproto/oauth-types';
|
3
|
+
import { AtprotoHandleResolverNodeOptions } from '@atproto-labs/handle-resolver-node';
|
4
4
|
import { NodeSavedSessionStore, NodeSavedStateStore } from './node-dpop-store.js';
|
5
5
|
export type * from './node-dpop-store.js';
|
6
6
|
export type { OAuthClientOptions, OAuthResponseMode, RuntimeLock };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"node-oauth-client.d.ts","sourceRoot":"","sources":["../src/node-oauth-client.ts"],"names":[],"mappings":"AAEA,OAAO,
|
1
|
+
{"version":3,"file":"node-oauth-client.d.ts","sourceRoot":"","sources":["../src/node-oauth-client.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,+BAA+B,EAC/B,kBAAkB,EAClB,WAAW,EACZ,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,EAEL,gCAAgC,EACjC,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EAEpB,MAAM,sBAAsB,CAAA;AAE7B,mBAAmB,sBAAsB,CAAA;AACzC,YAAY,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,WAAW,EAAE,CAAA;AAElE,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,kBAAkB,EAEhB,cAAc,GACd,YAAY,GACZ,cAAc,GAEd,uBAAuB,GACvB,gBAAgB,CACnB,GAAG;IACF,YAAY,CAAC,EAAE,OAAO,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAA;IAErD,UAAU,EAAE,mBAAmB,CAAA;IAC/B,YAAY,EAAE,qBAAqB,CAAA;IAEnC,mBAAmB,CAAC,EAAE,gCAAgC,CAAC,qBAAqB,CAAC,CAAA;IAC7E,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,kCAAkC,GAC5C,+BAA+B,GAC7B,IAAI,CAAC,sBAAsB,EAAE,gBAAgB,CAAC,CAAA;AAElD,qBAAa,eAAgB,SAAQ,WAAW;WACjC,YAAY,CAAC,OAAO,EAAE,kCAAkC;gBAKzD,EACV,KAAK,EACL,YAAsB,EACtB,mBAAmB,EAEnB,UAAU,EACV,YAAY,EACZ,WAAuB,EAEvB,GAAG,OAAO,EACX,EAAE,sBAAsB;CA2B1B"}
|
@@ -2,9 +2,9 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.NodeOAuthClient = void 0;
|
4
4
|
const node_crypto_1 = require("node:crypto");
|
5
|
-
const handle_resolver_node_1 = require("@atproto-labs/handle-resolver-node");
|
6
5
|
const jwk_jose_1 = require("@atproto/jwk-jose");
|
7
6
|
const oauth_client_1 = require("@atproto/oauth-client");
|
7
|
+
const handle_resolver_node_1 = require("@atproto-labs/handle-resolver-node");
|
8
8
|
const node_dpop_store_js_1 = require("./node-dpop-store.js");
|
9
9
|
class NodeOAuthClient extends oauth_client_1.OAuthClient {
|
10
10
|
static async fromClientId(options) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"node-oauth-client.js","sourceRoot":"","sources":["../src/node-oauth-client.ts"],"names":[],"mappings":";;;AA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;IACJ,CAAC;CACF;AA3CD,0CA2CC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atproto/oauth-client-node",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.10",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "ATPROTO OAuth client for the NodeJS",
|
6
6
|
"keywords": [
|
@@ -24,19 +24,22 @@
|
|
24
24
|
"default": "./dist/index.js"
|
25
25
|
}
|
26
26
|
},
|
27
|
+
"engines": {
|
28
|
+
"node": ">=18.7.0"
|
29
|
+
},
|
27
30
|
"files": [
|
28
31
|
"dist"
|
29
32
|
],
|
30
33
|
"dependencies": {
|
31
|
-
"@atproto-labs/did-resolver": "0.1.
|
32
|
-
"@atproto-labs/handle-resolver-node": "0.1.
|
33
|
-
"@atproto-labs/simple-store": "0.1.
|
34
|
-
"@atproto/did": "0.1.
|
35
|
-
"@atproto/jwk": "0.1.
|
36
|
-
"@atproto/jwk-jose": "0.1.
|
37
|
-
"@atproto/jwk-webcrypto": "0.1.
|
38
|
-
"@atproto/oauth-client": "0.3.
|
39
|
-
"@atproto/oauth-types": "0.2.
|
34
|
+
"@atproto-labs/did-resolver": "0.1.10",
|
35
|
+
"@atproto-labs/handle-resolver-node": "0.1.13",
|
36
|
+
"@atproto-labs/simple-store": "0.1.2",
|
37
|
+
"@atproto/did": "0.1.5",
|
38
|
+
"@atproto/jwk": "0.1.3",
|
39
|
+
"@atproto/jwk-jose": "0.1.4",
|
40
|
+
"@atproto/jwk-webcrypto": "0.1.4",
|
41
|
+
"@atproto/oauth-client": "0.3.9",
|
42
|
+
"@atproto/oauth-types": "0.2.3"
|
40
43
|
},
|
41
44
|
"devDependencies": {
|
42
45
|
"typescript": "^5.6.3"
|