From 2a7b4f0d360366e604ab0fd93d91a19964b0c23c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=E2=9D=A4=EF=B8=8F=20=E2=98=AE=EF=B8=8F=20=E2=9C=8B?= <6723574+louisgv@users.noreply.github.com> Date: Wed, 21 Jun 2023 14:03:22 -0700 Subject: [PATCH] chore: bump dependencies --- package.json | 6 +++--- src/index.ts | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index cda68fe3..f9a83178 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@plasmohq/edge-addons-api", - "version": "1.3.1", + "version": "1.3.2", "description": "Microsoft Edge Addons API for Node.js", "exports": "./dist/index.js", "types": "./dist/index.d.ts", @@ -36,11 +36,11 @@ "@jest/globals": "29.5.0", "@plasmo/config": "workspace:*", "@plasmohq/rps": "1.8.6", - "@types/node": "20.2.5", + "@types/node": "20.3.1", "cross-env": "7.0.3", "jest": "29.5.0", "ts-jest": "29.1.0", - "tsup": "6.7.0", + "tsup": "7.0.0", "typescript": "5.1.3" } } diff --git a/src/index.ts b/src/index.ts index 539a6355..f084d7eb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -62,9 +62,8 @@ export class EdgeAddonsAPI { if (!options[field]) { throw new Error(errorMap[field]) } - - this.options[field] = options[field] } + this.options = { ...options } } get productEndpoint() {