@squadx_dev/brix-client-library 1.0.0 → 1.4.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/chunk/{DiSJkrZf.es.js → CGLF2cgi.es.js} +25252 -27291
- package/dist/chunk/CGLF2cgi.es.js.map +1 -0
- package/dist/chunk/CPmhQymA.cjs.js +86 -0
- package/dist/chunk/CPmhQymA.cjs.js.map +1 -0
- package/dist/chunk/CcFwM_wb.cjs.js +4 -0
- package/dist/chunk/CcFwM_wb.cjs.js.map +1 -0
- package/dist/chunk/{B-tN7nvh.es.js → CcS3vBvQ.es.js} +18 -16
- package/dist/chunk/CcS3vBvQ.es.js.map +1 -0
- package/dist/component/PlayerUser/PlayerUser.d.ts +24 -0
- package/dist/component/index.cjs.js +2 -2
- package/dist/component/index.d.ts +1 -1
- package/dist/component/index.es.js +2 -2
- package/dist/lib/api.d.ts +38 -0
- package/dist/umd/index.d.ts +1 -0
- package/dist/umd/index.umd.js +311 -0
- package/package.json +31 -38
- package/dist/chunk/B-tN7nvh.es.js.map +0 -1
- package/dist/chunk/BVABk0Tw.cjs.js +0 -4
- package/dist/chunk/BVABk0Tw.cjs.js.map +0 -1
- package/dist/chunk/Ch7W_T2h.cjs.js +0 -145
- package/dist/chunk/Ch7W_T2h.cjs.js.map +0 -1
- package/dist/chunk/DiSJkrZf.es.js.map +0 -1
- package/dist/client-library/src/component/PlayerUser/PlayerUser.d.ts +0 -12
- package/dist/client-library/src/component/PlayerUser/PlayerUser.stories.d.ts +0 -7
- package/dist/client-library/src/component/index.d.ts +0 -1
- package/dist/client-library/src/lib/api.d.ts +0 -14
- package/dist/component/index.umd.js +0 -148
- package/dist/component/index.umd.js.map +0 -1
- /package/dist/{client-library/src/component → component}/PlayerUser/index.d.ts +0 -0
- /package/dist/{client-library/src/lib → lib}/useFetch.d.ts +0 -0
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
interface PlayerUserProps extends Omit<React.HTMLAttributes<HTMLDivElement>, ""> {
|
|
4
|
-
/** UGC id */
|
|
5
|
-
id: string;
|
|
6
|
-
/** 유저토큰 */
|
|
7
|
-
token?: string;
|
|
8
|
-
/** 개발환경 */
|
|
9
|
-
env: "dev" | "stage" | "prod";
|
|
10
|
-
}
|
|
11
|
-
export declare function PlayerUser({ id, env, token, style }: PlayerUserProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { PlayerUser } from './PlayerUser';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare const baseUrl: {
|
|
2
|
-
dev: string;
|
|
3
|
-
stage: string;
|
|
4
|
-
prod: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const getUgc: ({ id, env, }: {
|
|
7
|
-
id: string;
|
|
8
|
-
env: keyof typeof baseUrl;
|
|
9
|
-
}) => Promise<any>;
|
|
10
|
-
export declare const getGuestToken: ({ clientId, token: _token, env, }: {
|
|
11
|
-
clientId: string;
|
|
12
|
-
token?: string;
|
|
13
|
-
env: keyof typeof baseUrl;
|
|
14
|
-
}) => Promise<ClientAuth>;
|