@slates/provider-handler 1.0.0-rc.27 → 1.0.0-rc.29
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/index.cjs +8 -0
- package/dist/index.module.js +8 -0
- package/package.json +3 -3
- package/src/index.ts +9 -0
package/dist/index.cjs
CHANGED
|
@@ -509,6 +509,14 @@ var createProviderHandler = (slate, listeners) => (0, import_proto.createSlatesP
|
|
|
509
509
|
baseUrl: params.baseUrl
|
|
510
510
|
});
|
|
511
511
|
});
|
|
512
|
+
manager.onRequest("slates/provider.capabilities.get", async () => ({
|
|
513
|
+
capabilities: {
|
|
514
|
+
hub: {
|
|
515
|
+
capabilitiesNotification: true,
|
|
516
|
+
liveInvocation: true
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
}));
|
|
512
520
|
manager.onRequest("slates/config.changed", async ({ params }) => {
|
|
513
521
|
getContextBasic();
|
|
514
522
|
let newConfig = validate(
|
package/dist/index.module.js
CHANGED
|
@@ -487,6 +487,14 @@ var createProviderHandler = (slate, listeners) => createSlatesProviderProtoHandl
|
|
|
487
487
|
baseUrl: params.baseUrl
|
|
488
488
|
});
|
|
489
489
|
});
|
|
490
|
+
manager.onRequest("slates/provider.capabilities.get", async () => ({
|
|
491
|
+
capabilities: {
|
|
492
|
+
hub: {
|
|
493
|
+
capabilitiesNotification: true,
|
|
494
|
+
liveInvocation: true
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
}));
|
|
490
498
|
manager.onRequest("slates/config.changed", async ({ params }) => {
|
|
491
499
|
getContextBasic();
|
|
492
500
|
let newConfig = validate(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slates/provider-handler",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.29",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@lowerdeck/error": "^1.1.0",
|
|
35
|
-
"@slates/proto": "1.0.0-rc.
|
|
36
|
-
"@slates/provider": "1.0.0-rc.
|
|
35
|
+
"@slates/proto": "1.0.0-rc.18",
|
|
36
|
+
"@slates/provider": "1.0.0-rc.22",
|
|
37
37
|
"p-queue": "^6.6.2",
|
|
38
38
|
"zod": "^4.2.1"
|
|
39
39
|
},
|
package/src/index.ts
CHANGED
|
@@ -387,6 +387,15 @@ export let createProviderHandler = <ConfigType extends {}, AuthType extends {}>(
|
|
|
387
387
|
});
|
|
388
388
|
});
|
|
389
389
|
|
|
390
|
+
manager.onRequest('slates/provider.capabilities.get', async () => ({
|
|
391
|
+
capabilities: {
|
|
392
|
+
hub: {
|
|
393
|
+
capabilitiesNotification: true,
|
|
394
|
+
liveInvocation: true
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
}));
|
|
398
|
+
|
|
390
399
|
manager.onRequest('slates/config.changed', async ({ params }) => {
|
|
391
400
|
getContextBasic();
|
|
392
401
|
|