Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contember/client

Package Overview
Dependencies
Maintainers
5
Versions
207
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/client - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0-alpha.0

4

dist/development/content/upload/GenerateUploadUrlMutationBuilder.js

@@ -1,3 +0,1 @@

import { ObjectBuilder } from "../../graphQlBuilder/ObjectBuilder.js";
import { QueryBuilder } from "../../graphQlBuilder/QueryBuilder.js";
var __defProp = Object.defineProperty;

@@ -9,2 +7,4 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;

};
import { ObjectBuilder } from "../../graphQlBuilder/ObjectBuilder.js";
import { QueryBuilder } from "../../graphQlBuilder/QueryBuilder.js";
const _GenerateUploadUrlMutationBuilder = class {

@@ -11,0 +11,0 @@ static buildQuery(parameters) {

@@ -1,5 +0,1 @@

import pLimit from "p-limit";
import { FileUploadError } from "./FileUploadError.js";
import { GenerateUploadUrlMutationBuilder } from "./GenerateUploadUrlMutationBuilder.js";
import { readFileAsArrayBuffer } from "../../utils/readFileAsArrayBuffer.js";
var __defProp = Object.defineProperty;

@@ -11,5 +7,8 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;

};
import pLimit from "p-limit";
import { FileUploadError } from "./FileUploadError.js";
import { GenerateUploadUrlMutationBuilder } from "./GenerateUploadUrlMutationBuilder.js";
import { readFileAsArrayBuffer } from "../../utils/readFileAsArrayBuffer.js";
class S3FileUploader {
constructor(options = {}) {
this.options = options;
__publicField(this, "uploadState");

@@ -20,2 +19,3 @@ __publicField(this, "generateNewAlias", (() => {

})());
this.options = options;
this.uploadState = /* @__PURE__ */ new WeakMap();

@@ -22,0 +22,0 @@ }

@@ -1,6 +0,1 @@

import { CrudQueryBuilderError } from "./CrudQueryBuilderError.js";
import { WriteManyRelationBuilder } from "./WriteManyRelationBuilder.js";
import { WriteOneRelationBuilder } from "./WriteOneRelationBuilder.js";
import { GraphQlLiteral } from "../graphQlBuilder/GraphQlLiteral.js";
import { isEmptyObject } from "../utils/isEmptyObject.js";
var __defProp = Object.defineProperty;

@@ -12,2 +7,7 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;

};
import { CrudQueryBuilderError } from "./CrudQueryBuilderError.js";
import { WriteManyRelationBuilder } from "./WriteManyRelationBuilder.js";
import { WriteOneRelationBuilder } from "./WriteOneRelationBuilder.js";
import { GraphQlLiteral } from "../graphQlBuilder/GraphQlLiteral.js";
import { isEmptyObject } from "../utils/isEmptyObject.js";
class WriteDataBuilder {

@@ -14,0 +14,0 @@ constructor(data) {

import { GraphQlLiteral } from "./graphQlBuilder/GraphQlLiteral.js";
import { GraphQlLiteral as GraphQlLiteral2 } from "./graphQlBuilder/GraphQlLiteral.js";
import { ObjectBuilder } from "./graphQlBuilder/ObjectBuilder.js";

@@ -49,3 +48,3 @@ import { QueryCompiler } from "./graphQlBuilder/QueryCompiler.js";

GraphQlClient,
GraphQlLiteral2 as GraphQlLiteral,
GraphQlLiteral,
S3FileUploader,

@@ -52,0 +51,0 @@ formatContentApiRelativeUrl,

@@ -1,3 +0,1 @@

import { ObjectBuilder } from "../../graphQlBuilder/ObjectBuilder.js";
import { QueryBuilder } from "../../graphQlBuilder/QueryBuilder.js";
var __defProp = Object.defineProperty;

@@ -9,2 +7,4 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;

};
import { ObjectBuilder } from "../../graphQlBuilder/ObjectBuilder.js";
import { QueryBuilder } from "../../graphQlBuilder/QueryBuilder.js";
const _GenerateUploadUrlMutationBuilder = class {

@@ -11,0 +11,0 @@ static buildQuery(parameters) {

@@ -1,5 +0,1 @@

import pLimit from "p-limit";
import { FileUploadError } from "./FileUploadError.js";
import { GenerateUploadUrlMutationBuilder } from "./GenerateUploadUrlMutationBuilder.js";
import { readFileAsArrayBuffer } from "../../utils/readFileAsArrayBuffer.js";
var __defProp = Object.defineProperty;

@@ -11,5 +7,8 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;

};
import pLimit from "p-limit";
import { FileUploadError } from "./FileUploadError.js";
import { GenerateUploadUrlMutationBuilder } from "./GenerateUploadUrlMutationBuilder.js";
import { readFileAsArrayBuffer } from "../../utils/readFileAsArrayBuffer.js";
class S3FileUploader {
constructor(options = {}) {
this.options = options;
__publicField(this, "uploadState");

@@ -20,2 +19,3 @@ __publicField(this, "generateNewAlias", (() => {

})());
this.options = options;
this.uploadState = /* @__PURE__ */ new WeakMap();

@@ -22,0 +22,0 @@ }

@@ -1,6 +0,1 @@

import { CrudQueryBuilderError } from "./CrudQueryBuilderError.js";
import { WriteManyRelationBuilder } from "./WriteManyRelationBuilder.js";
import { WriteOneRelationBuilder } from "./WriteOneRelationBuilder.js";
import { GraphQlLiteral } from "../graphQlBuilder/GraphQlLiteral.js";
import { isEmptyObject } from "../utils/isEmptyObject.js";
var __defProp = Object.defineProperty;

@@ -12,2 +7,7 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;

};
import { CrudQueryBuilderError } from "./CrudQueryBuilderError.js";
import { WriteManyRelationBuilder } from "./WriteManyRelationBuilder.js";
import { WriteOneRelationBuilder } from "./WriteOneRelationBuilder.js";
import { GraphQlLiteral } from "../graphQlBuilder/GraphQlLiteral.js";
import { isEmptyObject } from "../utils/isEmptyObject.js";
class WriteDataBuilder {

@@ -14,0 +14,0 @@ constructor(data) {

import { GraphQlLiteral } from "./graphQlBuilder/GraphQlLiteral.js";
import { GraphQlLiteral as GraphQlLiteral2 } from "./graphQlBuilder/GraphQlLiteral.js";
import { ObjectBuilder } from "./graphQlBuilder/ObjectBuilder.js";

@@ -49,3 +48,3 @@ import { QueryCompiler } from "./graphQlBuilder/QueryCompiler.js";

GraphQlClient,
GraphQlLiteral2 as GraphQlLiteral,
GraphQlLiteral,
S3FileUploader,

@@ -52,0 +51,0 @@ formatContentApiRelativeUrl,

{
"name": "@contember/client",
"license": "Apache-2.0",
"version": "1.1.0",
"version": "1.2.0-alpha.0",
"main": "./dist/production/index.js",

@@ -33,3 +33,4 @@ "exports": {

"p-limit": "^4.0.0"
}
},
"stableVersion": "0.0.0"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc