@verbatra/sdk 0.11.0 → 0.11.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.
- package/README.md +1 -1
- package/dist/index.cjs +8 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +316 -122
- package/dist/index.d.ts +316 -122
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -6917,8 +6917,10 @@ var AdapterRegistry = class {
|
|
|
6917
6917
|
* can silently shadow what is already there.
|
|
6918
6918
|
*
|
|
6919
6919
|
* An adapter whose format is a third-party `custom:` identifier is wrapped so that an unexpected
|
|
6920
|
-
* throw from any of its contract methods surfaces as an {@link AdapterError}
|
|
6921
|
-
*
|
|
6920
|
+
* throw from any of its contract methods surfaces as an {@link AdapterError} with code
|
|
6921
|
+
* `ADAPTER_FAILED` naming the format. An `AdapterError` the adapter raises itself, and a Node.js
|
|
6922
|
+
* system error carrying an errno-style code such as `ENOENT`, pass through unchanged. Built-in
|
|
6923
|
+
* adapters are registered as they are.
|
|
6922
6924
|
*
|
|
6923
6925
|
* @param adapter - The adapter to add.
|
|
6924
6926
|
* @returns This registry, for chaining.
|
|
@@ -18335,7 +18337,10 @@ var scaffoldingMetadata = {
|
|
|
18335
18337
|
* one. DeepL and Google Cloud Translation have no entry, since neither takes a token limit.
|
|
18336
18338
|
*/
|
|
18337
18339
|
providerTokenLimitKeys: SCAFFOLD_TOKEN_LIMIT_KEYS,
|
|
18338
|
-
/**
|
|
18340
|
+
/**
|
|
18341
|
+
* Every built-in i18n file format the SDK can read and write. A `custom:` format is never listed,
|
|
18342
|
+
* since its adapter ships outside verbatra.
|
|
18343
|
+
*/
|
|
18339
18344
|
supportedFormats: SUPPORTED_FORMATS
|
|
18340
18345
|
};
|
|
18341
18346
|
var defaultCreateWatcher = (paths) => {
|