@orderingstack/front-hooks 3.11.0 → 3.11.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/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +9 -1
- package/dist/index.es.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/pkce.d.ts +2 -2
- package/dist/src/pkce.d.ts.map +1 -1
- package/package.json +2 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -8,5 +8,5 @@ export * from './useChannelAvailability';
|
|
|
8
8
|
export * from './useMediaUrl';
|
|
9
9
|
export * from './utils';
|
|
10
10
|
export { isChannelOpen } from './utils/timeAvailabilityFilter';
|
|
11
|
-
export
|
|
11
|
+
export * from './pkce';
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,cAAc,QAAQ,CAAC"}
|
package/dist/src/pkce.d.ts
CHANGED
|
@@ -4,11 +4,11 @@ export declare enum CodeChallengeEncoding {
|
|
|
4
4
|
Base64Url = 0,
|
|
5
5
|
UriEncodedBase64 = 1
|
|
6
6
|
}
|
|
7
|
+
export declare function generateCodeChallenge(code_verifier: string, encoding: CodeChallengeEncoding): string;
|
|
7
8
|
export declare type PkceChallenge = {
|
|
8
9
|
code_verifier: string;
|
|
9
10
|
code_challenge: string;
|
|
10
11
|
};
|
|
11
|
-
declare function generatePkceChallenge(encoding?: CodeChallengeEncoding, length?: number): PkceChallenge;
|
|
12
|
+
export declare function generatePkceChallenge(encoding?: CodeChallengeEncoding, length?: number): PkceChallenge;
|
|
12
13
|
export declare function verifyChallenge(code_verifier: string, code_challenge: string, encoding: CodeChallengeEncoding): boolean;
|
|
13
|
-
export default generatePkceChallenge;
|
|
14
14
|
//# sourceMappingURL=pkce.d.ts.map
|
package/dist/src/pkce.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pkce.d.ts","sourceRoot":"","sources":["pkce.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pkce.d.ts","sourceRoot":"","sources":["pkce.ts"],"names":[],"mappings":"AAWA,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,YAQ3C;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAIzD;AAED,oBAAY,qBAAqB;IAC/B,SAAS,IAAA;IACT,gBAAgB,IAAA;CACjB;AAED,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,qBAAqB,GAC9B,MAAM,CAMR;AAED,oBAAY,aAAa,GAAG;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,wBAAgB,qBAAqB,CACnC,QAAQ,GAAE,qBAAuD,EACjE,MAAM,SAAM,GACX,aAAa,CAQf;AAED,wBAAgB,eAAe,CAC7B,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,EACtB,QAAQ,EAAE,qBAAqB,WAGhC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orderingstack/front-hooks",
|
|
3
|
-
"version": "3.11.
|
|
3
|
+
"version": "3.11.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@orderingstack/ordering-core-react": "^1.0.0",
|
|
32
|
+
"@types/crypto-js": "^4.1.1",
|
|
32
33
|
"@types/node": "^17.0.8",
|
|
33
34
|
"@types/react": "^17.0.38",
|
|
34
35
|
"@vitejs/plugin-react": "^1.1.4",
|