@synopackageland/app 0.25.0 → 0.27.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/README.md +10 -0
- package/dist/app.d.ts +1 -1
- package/dist/sdk-version.d.ts +1 -1
- package/dist/sdk-version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -231,3 +231,13 @@ const result = await ctx.runtime('webapi.call', {delegation_id: (grant as {deleg
|
|
|
231
231
|
`webapi.grants` lists the caller's grants; `webapi.revoke` revokes one. Replies
|
|
232
232
|
contain the full DSM envelope. No mutation retries; reconcile unknown outcomes.
|
|
233
233
|
See spec/bridge/v1 and executor/README.md for the fixed permissions and limits.
|
|
234
|
+
|
|
235
|
+
## DSM file sessions
|
|
236
|
+
|
|
237
|
+
The default Go runtime no longer forwards a browser DSM session to File
|
|
238
|
+
Station over HTTP. Its legacy `files.list`, `files.info` and `files.read`
|
|
239
|
+
services return `unsupported`; wrappers never receive DSM credentials.
|
|
240
|
+
Use the frontend SDK's same-origin file client for interactive operations.
|
|
241
|
+
Backend writes or grants require independent caller-bound authorization;
|
|
242
|
+
browser-only Apps do not acquire an executor. See the repository's
|
|
243
|
+
`docs/dsm-session-transport.md` for the App migration checklist.
|
package/dist/app.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { type Context } from './context.js';
|
|
|
3
3
|
/** The channel protocol version this SDK speaks. */
|
|
4
4
|
export declare const VERSION = 1;
|
|
5
5
|
/** The SDK's name in hello: node/<package version>. */
|
|
6
|
-
export declare const SDK = "node/0.
|
|
6
|
+
export declare const SDK = "node/0.27.0";
|
|
7
7
|
/**
|
|
8
8
|
* A method's implementation. params is the request's params as the browser
|
|
9
9
|
* sent them, not checked against P. The result is the data the browser gets,
|
package/dist/sdk-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.27.0";
|
package/dist/sdk-version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated from package.json by scripts/sdk-version.mjs. DO NOT EDIT.
|
|
2
|
-
export const SDK_VERSION = "0.
|
|
2
|
+
export const SDK_VERSION = "0.27.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synopackageland/app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Node SDK for Synology Package Land Apps: the backend methods behind the synopkgland Go runtime (channel spec/bridge/v1)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/synopackageland/syno-pkg-land-sdk/tree/main/node#readme",
|