@metorial-services/slates-hub-client 1.0.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.
@@ -0,0 +1,2 @@
1
+ import{createClient as r}from"@lowerdeck/rpc-client";var e=function(e){return r(e)};export{e as createSlatesHubInternalClient};
2
+ //# sourceMappingURL=index.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.module.js","sources":["../src/index.ts"],"sourcesContent":["import { createClient } from '@lowerdeck/rpc-client';\nimport { 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"}
@@ -0,0 +1,2 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@lowerdeck/rpc-client")):"function"==typeof define&&define.amd?define(["exports","@lowerdeck/rpc-client"],t):t((e||self).slatesHubClient={},e.rpcClient)}(this,function(e,t){e.createSlatesHubInternalClient=function(e){return t.createClient(e)}});
2
+ //# sourceMappingURL=index.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.umd.js","sources":["../src/index.ts"],"sourcesContent":["import { createClient } from '@lowerdeck/rpc-client';\nimport { 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"}
package/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "@metorial-services/slates-hub-client",
3
+ "version": "1.0.1",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "files": [
8
+ "src/**",
9
+ "dist/**",
10
+ "README.md",
11
+ "package.json"
12
+ ],
13
+ "author": "Tobias Herber",
14
+ "license": "FSL 1.1",
15
+ "type": "module",
16
+ "source": "src/index.ts",
17
+ "exports": {
18
+ "types": "./dist/index.d.ts",
19
+ "require": "./dist/index.cjs",
20
+ "import": "./dist/index.module.js",
21
+ "default": "./dist/index.module.js"
22
+ },
23
+ "main": "./dist/index.cjs",
24
+ "module": "./dist/index.module.js",
25
+ "types": "dist/index.d.ts",
26
+ "unpkg": "./dist/index.umd.js",
27
+ "scripts": {
28
+ "test": "vitest run --passWithNoTests",
29
+ "lint": "prettier src/**/*.ts --check",
30
+ "build": "rm -rf ./dist && microbundle && dts-bundle-generator --config dts-bundle-generator.config.json",
31
+ "prepublish": "bun run build"
32
+ },
33
+ "dependencies": {
34
+ "@lowerdeck/rpc-client": "^1.0.2"
35
+ },
36
+ "devDependencies": {
37
+ "dts-bundle-generator": "^9.5.1",
38
+ "microbundle": "^0.15.1",
39
+ "typescript": "^5.8.3",
40
+ "vitest": "^3.1.2"
41
+ }
42
+ }
package/src/index.ts ADDED
@@ -0,0 +1,5 @@
1
+ import { createClient } from '@lowerdeck/rpc-client';
2
+ import { ClientOpts } from '@lowerdeck/rpc-client/dist/shared/clientBuilder';
3
+ import type { SlatesHubClient } from '../../../apps/hub/src/apis/internal';
4
+
5
+ export let createSlatesHubInternalClient = (o: ClientOpts) => createClient<SlatesHubClient>(o);