@wazobiatech/wazui 1.0.53 → 1.0.55
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/{PictureBlot-TjDxbFJf.cjs → PictureBlot-26XIpZQ2.cjs} +2 -2
- package/dist/{PictureBlot-TjDxbFJf.cjs.map → PictureBlot-26XIpZQ2.cjs.map} +1 -1
- package/dist/{PictureBlot-DhlS54sJ.js → PictureBlot-CKjxWxUc.js} +2 -2
- package/dist/{PictureBlot-DhlS54sJ.js.map → PictureBlot-CKjxWxUc.js.map} +1 -1
- package/dist/components/wazui/PagesContentComponent/PagesContentComponent.d.ts.map +1 -1
- package/dist/components/wazui/PagesContentComponent/PagesContentComponent.test.d.ts.map +1 -1
- package/dist/hooks/useMercuryProjectToken.d.ts +2 -0
- package/dist/hooks/useMercuryProjectToken.d.ts.map +1 -1
- package/dist/hooks/useMercuryProjectToken.test.d.ts +2 -0
- package/dist/hooks/useMercuryProjectToken.test.d.ts.map +1 -0
- package/dist/{index--qJZSyMc.js → index-B3rTGMBB.js} +5209 -5193
- package/dist/index-B3rTGMBB.js.map +4 -0
- package/dist/{index-mGCA01Pj.cjs → index-Bg3koj-Q.cjs} +156 -156
- package/dist/index-Bg3koj-Q.cjs.map +4 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{quill-D2HXLate.cjs → quill-0ii77aUk.cjs} +2 -2
- package/dist/{quill-D2HXLate.cjs.map → quill-0ii77aUk.cjs.map} +1 -1
- package/dist/{quill-DPhAw9X5.js → quill-B7JopR5V.js} +2 -2
- package/dist/{quill-DPhAw9X5.js.map → quill-B7JopR5V.js.map} +1 -1
- package/dist/utils/apolloClient.d.ts +2 -2
- package/dist/utils/apolloClient.d.ts.map +1 -1
- package/dist/utils/authLink.d.ts +8 -0
- package/dist/utils/authLink.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index--qJZSyMc.js.map +0 -4
- package/dist/index-mGCA01Pj.cjs.map +0 -4
|
@@ -14,8 +14,8 @@ export declare const museClient: ApolloClient;
|
|
|
14
14
|
/**
|
|
15
15
|
* Muse client that authenticates every operation — queries included — with the
|
|
16
16
|
* logged-in user's Bearer token (falls back to X-Project-Token when no user
|
|
17
|
-
* token exists).
|
|
18
|
-
*
|
|
17
|
+
* token exists). Kept available for components that genuinely require user
|
|
18
|
+
* authentication on every request.
|
|
19
19
|
*/
|
|
20
20
|
export declare const museUserAuthClient: ApolloClient;
|
|
21
21
|
export declare const recipeClient: ApolloClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apolloClient.d.ts","sourceRoot":"","sources":["../../src/utils/apolloClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAA8C,MAAM,gBAAgB,CAAC;AAK1F,eAAO,MAAM,kBAAkB,GAC7B,KAAK,MAAM,EACX,UAAU;IACR,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,WAAW,CAAC,EACR,aAAa,GACb,mBAAmB,GACnB,cAAc,GACd,YAAY,GACZ,UAAU,GACV,SAAS,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;IACxC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,iBAuCF,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACnC,KAAK,MAAM,EACX,UAAU;IACR,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,WAAW,CAAC,EACR,aAAa,GACb,mBAAmB,GACnB,cAAc,GACd,YAAY,GACZ,UAAU,GACV,SAAS,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;CACzC,
|
|
1
|
+
{"version":3,"file":"apolloClient.d.ts","sourceRoot":"","sources":["../../src/utils/apolloClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAA8C,MAAM,gBAAgB,CAAC;AAK1F,eAAO,MAAM,kBAAkB,GAC7B,KAAK,MAAM,EACX,UAAU;IACR,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,WAAW,CAAC,EACR,aAAa,GACb,mBAAmB,GACnB,cAAc,GACd,YAAY,GACZ,UAAU,GACV,SAAS,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;IACxC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,iBAuCF,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACnC,KAAK,MAAM,EACX,UAAU;IACR,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,WAAW,CAAC,EACR,aAAa,GACb,mBAAmB,GACnB,cAAc,GACd,YAAY,GACZ,UAAU,GACV,SAAS,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;CACzC,iBAwCF,CAAC;AAEF,eAAO,MAAM,UAAU,cAAiE,CAAC;AAEzF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,cAG9B,CAAC;AAEF,eAAO,MAAM,YAAY,cAAmE,CAAC;AAI7F,eAAO,MAAM,eAAe,oBAW3B,CAAC"}
|
package/dist/utils/authLink.d.ts
CHANGED
|
@@ -4,6 +4,12 @@ export interface AuthLinkOptions {
|
|
|
4
4
|
}>;
|
|
5
5
|
/** When true, both queries and mutations are authenticated with the user's Bearer token. */
|
|
6
6
|
requiresUserAuth?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* When false, the user's Bearer token is never attached — every operation
|
|
9
|
+
* authenticates with the project token. Use for non-Muse services (e.g.
|
|
10
|
+
* Dolos) that only accept X-Project-Token.
|
|
11
|
+
*/
|
|
12
|
+
allowUserAuth?: boolean;
|
|
7
13
|
}
|
|
8
14
|
/**
|
|
9
15
|
* Authentication link that separates query and mutation authentication:
|
|
@@ -14,6 +20,8 @@ export interface AuthLinkOptions {
|
|
|
14
20
|
* - Mutations executed before a user token exists (e.g. the login
|
|
15
21
|
* mutations themselves) fall back to `x-project-token` so the
|
|
16
22
|
* authentication flow keeps working.
|
|
23
|
+
* - `updateBlogMetadata` sends the user's Bearer token together with its
|
|
24
|
+
* `tenant_id` argument, but does not fall back to `x-project-token`.
|
|
17
25
|
*/
|
|
18
26
|
export declare const createAuthLink: (options?: AuthLinkOptions) => import('@apollo/client/link/context').SetContextLink;
|
|
19
27
|
//# sourceMappingURL=authLink.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authLink.d.ts","sourceRoot":"","sources":["../../src/utils/authLink.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,eAAe;IAC9B,iBAAiB,CAAC,EAAE,MAAM,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrD,4FAA4F;IAC5F,gBAAgB,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"authLink.d.ts","sourceRoot":"","sources":["../../src/utils/authLink.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,eAAe;IAC9B,iBAAiB,CAAC,EAAE,MAAM,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrD,4FAA4F;IAC5F,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAiBD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,GAAI,UAAU,eAAe,yDAmDvD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wazobiatech/wazui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.55",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "`@repo/wazui` is a React component library that provides a set of reusable UI components, hooks, and providers for building modern web applications. It is built with TypeScript, Tailwind CSS, and integrates Shadcn UI components.",
|
|
6
6
|
"homepage": "https://bitbucket.org/wazobiatech/wazui#readme",
|