@getlatedev/node 0.2.297 → 0.2.298
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 +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +1 -1
package/README.md
CHANGED
|
@@ -178,7 +178,7 @@ try {
|
|
|
178
178
|
| `posts.deletePost()` | Delete post |
|
|
179
179
|
| `posts.editPost()` | Edit published post |
|
|
180
180
|
| `posts.retryPost()` | Retry failed post |
|
|
181
|
-
| `posts.syncExternalPosts()` | Sync
|
|
181
|
+
| `posts.syncExternalPosts()` | Sync an external post |
|
|
182
182
|
| `posts.unpublishPost()` | Unpublish post |
|
|
183
183
|
|
|
184
184
|
### Accounts
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.298",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.298",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -689,7 +689,7 @@ export const createPost = <ThrowOnError extends boolean = false>(options: Option
|
|
|
689
689
|
};
|
|
690
690
|
|
|
691
691
|
/**
|
|
692
|
-
* Sync
|
|
692
|
+
* Sync an external post
|
|
693
693
|
* Fetch an account's latest external posts (published directly on the platform, not through Zernio) on demand, so a just-published post is retrievable within seconds instead of waiting for the background sync (which refreshes each account at most every ~90 minutes).
|
|
694
694
|
*
|
|
695
695
|
* Primary use case: verifying a submitted post. When a user publishes on the platform and immediately pastes the post URL into your app, call this with `accountId` plus `url` (or `postId`) to confirm the post exists and return its metadata.
|