@microsoft/rayfin-client 1.30.0 → 1.32.0

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/client.js CHANGED
@@ -30,6 +30,7 @@ export class RayfinClientBase {
30
30
  this.apiClient = new ApiClient({
31
31
  baseUrl: config.baseUrl,
32
32
  publishableKey: config.publishableKey,
33
+ functionsBaseUrl: config.functionsBaseUrl,
33
34
  useProxy: config.useProxy,
34
35
  headers: config.headers,
35
36
  timeout: config.timeout,
@@ -1,5 +1,5 @@
1
1
  import { ServicePlugin, TServiceClasses, ServicePluginFactory } from '@microsoft/rayfin-lib';
2
- import RayfinClient, { RayfinClientConfig } from '../client';
2
+ import RayfinClient, { RayfinClientConfig } from '../client.js';
3
3
  export { ServicePlugin, type TServiceClasses, type ServicePluginFactory as ServicePluginClass, };
4
4
  /**
5
5
  * (Experimental) Extendable Rayfin Client supports adding custom services. Use `ExtendableRayfinClient.create` to instantiate.
@@ -1,5 +1,5 @@
1
1
  import { ServicePlugin, } from '@microsoft/rayfin-lib';
2
- import RayfinClient from '../client';
2
+ import RayfinClient from '../client.js';
3
3
  export { ServicePlugin, };
4
4
  /**
5
5
  * (Experimental) Extendable Rayfin Client supports adding custom services. Use `ExtendableRayfinClient.create` to instantiate.
@@ -1,3 +1,3 @@
1
- export { ExtendableRayfinClient, ServicePlugin, } from './ExtendableRayfinClient';
2
- export type { TServiceClasses, ServicePluginClass, } from './ExtendableRayfinClient';
1
+ export { ExtendableRayfinClient, ServicePlugin, } from './ExtendableRayfinClient.js';
2
+ export type { TServiceClasses, ServicePluginClass, } from './ExtendableRayfinClient.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export { ExtendableRayfinClient, ServicePlugin, } from './ExtendableRayfinClient';
1
+ export { ExtendableRayfinClient, ServicePlugin, } from './ExtendableRayfinClient.js';
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export * from './client';
2
- export { default } from './client';
1
+ export * from './client.js';
2
+ export { default } from './client.js';
3
3
  export type { TypedDataClients, EntitySchema } from '@microsoft/rayfin-data';
4
4
  export type { ApiClientConfig } from '@microsoft/rayfin-lib';
5
5
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // Export all from client.ts
2
- export * from './client';
3
- export { default } from './client';
2
+ export * from './client.js';
3
+ export { default } from './client.js';
4
4
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@microsoft/rayfin-client",
3
- "version": "1.30.0",
3
+ "version": "1.32.0",
4
4
  "description": "Main client SDK for Rayfin services",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {
8
- "default": "./dist/index.js",
9
- "types": "./dist/index.d.ts"
8
+ "types": "./dist/index.d.ts",
9
+ "default": "./dist/index.js"
10
10
  },
11
11
  "./experimental": {
12
- "default": "./dist/experimental/index.js",
13
- "types": "./dist/experimental/index.d.ts"
12
+ "types": "./dist/experimental/index.d.ts",
13
+ "default": "./dist/experimental/index.js"
14
14
  }
15
15
  },
16
16
  "files": [
@@ -21,10 +21,10 @@
21
21
  "assets/docs"
22
22
  ],
23
23
  "dependencies": {
24
- "@microsoft/rayfin-auth": "1.30.0",
25
- "@microsoft/rayfin-data": "1.30.0",
26
- "@microsoft/rayfin-lib": "1.30.0",
27
- "@microsoft/rayfin-functions": "1.30.0"
24
+ "@microsoft/rayfin-auth": "1.32.0",
25
+ "@microsoft/rayfin-data": "1.32.0",
26
+ "@microsoft/rayfin-lib": "1.32.0",
27
+ "@microsoft/rayfin-functions": "1.32.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "typescript": "^5.8.3",
@@ -50,7 +50,7 @@
50
50
  "kind": "api-reference"
51
51
  },
52
52
  "scripts": {
53
- "build": "tsc",
53
+ "build": "tsc && node ../scripts/fix-esm-extensions.mjs ./dist",
54
54
  "test": "vitest run",
55
55
  "clean": "rimraf dist && rimraf .tsbuildinfo"
56
56
  }