@nohead/sdk 0.3.0 → 0.4.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.
@@ -24,7 +24,7 @@ export declare class Collections extends Resource {
24
24
  /** A collection's schema history, newest first. */
25
25
  export declare class SchemaChanges extends Resource {
26
26
  list(collection: string, params?: ListParams, options?: RequestOptions): PagePromise<SchemaChange>;
27
- get(collection: string, schemaChange: string, options?: RequestOptions): APIPromise<SchemaChangeDetail>;
27
+ get(schemaChange: string, options?: RequestOptions): APIPromise<SchemaChangeDetail>;
28
28
  }
29
29
  /** A collection's search index. */
30
30
  export declare class SearchIndexes extends Resource {
@@ -36,10 +36,8 @@ export class SchemaChanges extends Resource {
36
36
  list(collection, params = {}, options) {
37
37
  return this.core.paginate("schema_changes_list", { path: { collection_id: collection }, query: params }, options);
38
38
  }
39
- get(collection, schemaChange, options) {
40
- return this.core.request("schema_changes_get", {
41
- path: { collection_id: collection, schema_change_id: schemaChange },
42
- }, options);
39
+ get(schemaChange, options) {
40
+ return this.core.request("schema_changes_get", { path: { schema_change_id: schemaChange } }, options);
43
41
  }
44
42
  }
45
43
  /** A collection's search index. */
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "0.3.0";
1
+ export declare const VERSION = "0.4.0";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "0.3.0";
1
+ export const VERSION = "0.4.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nohead/sdk",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Official TypeScript SDK for the Nohead API",
5
5
  "license": "MIT",
6
6
  "homepage": "https://nohead.io",