@centia-io/sdk 0.1.0 → 0.1.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.
@@ -827,10 +827,11 @@
827
827
  constructor(client) {
828
828
  this.client = client !== null && client !== void 0 ? client : getLegacyClient();
829
829
  }
830
- async query(rel) {
830
+ async query(rel, options) {
831
831
  return this.client.request({
832
832
  path: `api/v4/meta/${rel}`,
833
- method: "GET"
833
+ method: "GET",
834
+ query: (options === null || options === void 0 ? void 0 : options.noRestriction) !== void 0 ? { noRestriction: String(options.noRestriction) } : void 0
834
835
  });
835
836
  }
836
837
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@centia-io/sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Centia-io TypeScript SDK",
5
5
  "author": "Martin Høgh",
6
6
  "license": "MIT",