@axsdk/core 0.1.6 → 0.1.8
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/apiclient.d.ts +2 -2
- package/dist/axapi.d.ts +1 -0
- package/dist/config.d.ts +1 -0
- package/dist/lib.cjs +9 -9
- package/dist/lib.cjs.map +10 -10
- package/dist/lib.js +9 -9
- package/dist/lib.js.map +10 -10
- package/dist/types/axsdk.d.ts +2 -0
- package/package.json +2 -2
package/dist/types/axsdk.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ export type AXHandler = (command: string, args: Record<string, unknown>) => Prom
|
|
|
3
3
|
export declare const AXSDKTranslationsSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4
4
|
export type AXSDKTranslationsSchema = z.infer<typeof AXSDKTranslationsSchema>;
|
|
5
5
|
export declare const AXSDKConfigSchema: z.ZodObject<{
|
|
6
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
7
|
+
basePath: z.ZodOptional<z.ZodString>;
|
|
6
8
|
apiKey: z.ZodString;
|
|
7
9
|
appId: z.ZodString;
|
|
8
10
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axsdk/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "axsdk core",
|
|
6
6
|
"keywords": [],
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dev": "bun ./src/index.ts",
|
|
34
34
|
"build": "bun ./build.ts && bun build:types",
|
|
35
35
|
"build:types": "bunx tsc --emitDeclarationOnly",
|
|
36
|
-
"publish": "npm publish --access public"
|
|
36
|
+
"publish": "bun run build && npm publish --access public"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"eventemitter3": "^5.0.4",
|