@metorial-services/slates-hub-client 1.0.13 → 1.0.15

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.module.js","sources":["../src/index.ts"],"sourcesContent":["import { createClient } from '@lowerdeck/rpc-client';\nimport type { ClientOpts } from '@lowerdeck/rpc-client/dist/shared/clientBuilder';\nimport type { SlatesHubClient } from '../../../apps/hub/src/apis/internal';\n\nexport let createSlatesHubInternalClient = (o: ClientOpts) => createClient<SlatesHubClient>(o);\n"],"names":["createSlatesHubInternalClient","o","createClient"],"mappings":"qDAIW,IAAAA,EAAgC,SAACC,GAAa,OAAKC,EAA8BD,EAAE"}
1
+ {"version":3,"file":"index.module.js","sources":["../src/index.ts"],"sourcesContent":["import { createClient } from '@lowerdeck/rpc-client';\nimport type { SlatesHubClient } from '../../../apps/hub/src/apis/internal';\n\ntype ClientOpts = Parameters<typeof createClient>[0];\n\nexport let createSlatesHubInternalClient = (o: ClientOpts) => createClient<SlatesHubClient>(o);\n"],"names":["createSlatesHubInternalClient","o","createClient"],"mappings":"qDAKW,IAAAA,EAAgC,SAACC,GAAa,OAAKC,EAA8BD,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.umd.js","sources":["../src/index.ts"],"sourcesContent":["import { createClient } from '@lowerdeck/rpc-client';\nimport type { ClientOpts } from '@lowerdeck/rpc-client/dist/shared/clientBuilder';\nimport type { SlatesHubClient } from '../../../apps/hub/src/apis/internal';\n\nexport let createSlatesHubInternalClient = (o: ClientOpts) => createClient<SlatesHubClient>(o);\n"],"names":["o","createClient"],"mappings":"gVAI2C,SAACA,GAAa,OAAKC,EAAAA,aAA8BD,EAAE"}
1
+ {"version":3,"file":"index.umd.js","sources":["../src/index.ts"],"sourcesContent":["import { createClient } from '@lowerdeck/rpc-client';\nimport type { SlatesHubClient } from '../../../apps/hub/src/apis/internal';\n\ntype ClientOpts = Parameters<typeof createClient>[0];\n\nexport let createSlatesHubInternalClient = (o: ClientOpts) => createClient<SlatesHubClient>(o);\n"],"names":["o","createClient"],"mappings":"gVAK2C,SAACA,GAAa,OAAKC,EAAAA,aAA8BD,EAAE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metorial-services/slates-hub-client",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,6 +35,7 @@
35
35
  "@lowerdeck/rpc-client": "^1.0.2"
36
36
  },
37
37
  "devDependencies": {
38
+ "@metorial-services/slates-registry-client": "^1.0.0",
38
39
  "dts-bundle-generator": "^9.5.1",
39
40
  "microbundle": "^0.15.1",
40
41
  "typescript": "^5.8.3",
package/src/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { createClient } from '@lowerdeck/rpc-client';
2
- import type { ClientOpts } from '@lowerdeck/rpc-client/dist/shared/clientBuilder';
3
2
  import type { SlatesHubClient } from '../../../apps/hub/src/apis/internal';
4
3
 
4
+ type ClientOpts = Parameters<typeof createClient>[0];
5
+
5
6
  export let createSlatesHubInternalClient = (o: ClientOpts) => createClient<SlatesHubClient>(o);