Skip to content

Commit

Permalink
Add cancel requests and subscriptions to V6 (#11978)
Browse files Browse the repository at this point in the history
* Add cancel support on api-rest

* adding AppSyncRealTime WIP

* tested subscriptions for apikey

* re enable subscription
  • Loading branch information
elorzafe authored Sep 6, 2023
1 parent 0787b12 commit 650189e
Show file tree
Hide file tree
Showing 24 changed files with 1,679 additions and 207 deletions.
26 changes: 13 additions & 13 deletions packages/api-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@
"access": "public"
},
"scripts": {
"test": "npm run lint && jest --coverage",
"test:size": "size-limit",
"build-with-test": "npm test && npm run build",
"build:cjs": "node ./build es5 && webpack && webpack --config ./webpack.config.dev.js",
"build:esm": "node ./build es6",
"build:cjs:watch": "node ./build es5 --watch",
"build:esm:watch": "node ./build es6 --watch",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"clean": "npm run clean:size && rimraf lib-esm lib dist",
"clean:size": "rimraf dual-publish-tmp tmp*",
"format": "echo \"Not implemented\"",
"lint": "tslint 'src/**/*.ts' && npm run ts-coverage",
"ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 75.62"
"test": "npm run lint && jest -w 1 --coverage",
"test:watch": "tslint 'src/**/*.ts' && jest -w 1 --watch",
"build-with-test": "npm run clean && npm test && tsc && webpack",
"build:cjs": "rimraf lib && tsc -m commonjs --outDir lib && webpack && webpack --config ./webpack.config.dev.js",
"build:esm": "rimraf lib-esm && tsc -m esnext --outDir lib-esm",
"build:cjs:watch": "rimraf lib && tsc -m commonjs --outDir lib --watch",
"build:esm:watch": "rimraf lib-esm && tsc -m esnext --outDir lib-esm --watch",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"clean": "npm run clean:size && rimraf lib-esm lib dist",
"clean:size": "rimraf dual-publish-tmp tmp*",
"format": "echo \"Not implemented\"",
"lint": "tslint 'src/**/*.ts' && npm run ts-coverage",
"ts-coverage": "typescript-coverage-report -p ./tsconfig.json -t 70.0"
},
"repository": {
"type": "git",
Expand Down
1 change: 0 additions & 1 deletion packages/api-graphql/src/GraphQLAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ export class GraphQLAPIClass extends InternalGraphQLAPIClass {
}

export const GraphQLAPI = new GraphQLAPIClass(null);
// Amplify.register(GraphQLAPI);
Loading

0 comments on commit 650189e

Please sign in to comment.