From a127f48973fe7b2f8f03221718848f8d5a7c9c0d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 21 Jan 2024 19:03:04 +0000 Subject: [PATCH 01/20] chore(deps-dev): bump xo from 0.54.2 to 0.56.0 Bumps [xo](https://github.com/xojs/xo) from 0.54.2 to 0.56.0. - [Release notes](https://github.com/xojs/xo/releases) - [Commits](https://github.com/xojs/xo/compare/v0.54.2...v0.56.0) --- updated-dependencies: - dependency-name: xo dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2fe254c..24433df 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "msw": "^2.1.2", "ts-node": "^10.9.2", "tsd": "^0.30.4", - "xo": "^0.54.2" + "xo": "^0.56.0" }, "dependencies": { "@types/node": "^20.11.5", From 0c356c18f12028886e64b1fa2e2a191a83874bce Mon Sep 17 00:00:00 2001 From: Acho Arnold Date: Sun, 21 Jan 2024 21:24:21 +0200 Subject: [PATCH 02/20] add typescript types --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5c89bd6..819f746 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "httpsms", - "version": "0.0.2", + "version": "0.0.3", "description": "Client for the httpSMS API", "license": "MIT", "funding": "https://github.com/sponsors/NdoleStudio", @@ -15,6 +15,7 @@ "types": "./dist/index.d.ts", "default": "./dist/index.js" }, + "types": "./dist/index.d.ts", "engines": { "node": ">=16" }, From 83d295df96555e11a39b9b6d1e5271913d6857a2 Mon Sep 17 00:00:00 2001 From: Acho Arnold Date: Mon, 22 Jan 2024 20:48:26 +0200 Subject: [PATCH 03/20] Increase node version --- package.json | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 819f746..aa95211 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "httpsms", - "version": "0.0.3", + "version": "0.0.4", "description": "Client for the httpSMS API", "license": "MIT", "funding": "https://github.com/sponsors/NdoleStudio", diff --git a/readme.md b/readme.md index 51a6886..ed444fe 100644 --- a/readme.md +++ b/readme.md @@ -6,7 +6,7 @@ [![GitHub license](https://img.shields.io/github/license/NdoleStudio/httpsms-node?color=brightgreen)](https://github.com/NdoleStudio/httpsms-node/blob/master/LICENSE) [![Downloads](https://img.shields.io/npm/dm/httpsms.svg)](https://www.npmjs.com/package/httpsms) -This httpSMS library provides a server side javascript and typescript client for the [httpSMS](https://httpsms.com/) API. +This library provides a server side client for the [httpSMS](https://httpsms.com/) API to help you send and receive SMS messages from your Node.js applications in TypeScript or JavaScript. ## Install From dc2f2a4aa34e6c70d275ec38d4f52c42a7b870a7 Mon Sep 17 00:00:00 2001 From: Acho Arnold Date: Wed, 24 Jan 2024 21:10:32 +0200 Subject: [PATCH 04/20] Make the encrypted field optional --- src/models.ts | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/models.ts b/src/models.ts index 6e86747..0ce7d78 100644 --- a/src/models.ts +++ b/src/models.ts @@ -3,20 +3,24 @@ export type MessageSendRequest = { content: string; /** @example "+18005550199" */ from: string; + /** @example "+18005550100" */ + to: string; /** - * RequestID is an optional parameter used to track a request from the client's perspective + * request_id is an optional parameter used to track a request from the client's perspective * @example "153554b5-ae44-44a0-8f4f-7bbac5657ad4" */ request_id?: string; /** - * SendAt is an optional parameter used to schedule a message to be sent at a later time + * send_at is an optional parameter used to schedule a message to be sent at a later time * @example "2022-06-05T14:26:09.527976+03:00" */ - send_at?: string; - /** @example "+18005550100" */ - to: string; - /** @example false */ - encrypted: boolean; + send_at?: Date; + /** + * Determines weather or not the message content is encrypted already. Note that you have to also set the encryption + * key on the Android app for this feature to work properly. + * @example false + */ + encrypted?: boolean; }; export type MessageResponse = { From fc05b6ba7555f72c85c8e0882a55143451323cff Mon Sep 17 00:00:00 2001 From: Acho Arnold Date: Wed, 24 Jan 2024 21:19:57 +0200 Subject: [PATCH 05/20] Fixing the models comments --- src/models.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/models.ts b/src/models.ts index 0ce7d78..b68d4dd 100644 --- a/src/models.ts +++ b/src/models.ts @@ -6,18 +6,18 @@ export type MessageSendRequest = { /** @example "+18005550100" */ to: string; /** - * request_id is an optional parameter used to track a request from the client's perspective + * The request_id field is an optional parameter used to track a request from the client's perspective * @example "153554b5-ae44-44a0-8f4f-7bbac5657ad4" */ request_id?: string; /** - * send_at is an optional parameter used to schedule a message to be sent at a later time + * The send_at field is an optional parameter used to schedule a message to be sent at a later time * @example "2022-06-05T14:26:09.527976+03:00" */ send_at?: Date; /** - * Determines weather or not the message content is encrypted already. Note that you have to also set the encryption - * key on the Android app for this feature to work properly. + * This encrypted field is an optional parameter which determines weather or not the message content is encrypted. + * Note that you have to also set the encryption key on the Android app for this feature to work properly. * @example false */ encrypted?: boolean; From dc467ad5d064ece471c2ddcebe5694a5c8e6fd98 Mon Sep 17 00:00:00 2001 From: Acho Arnold Date: Mon, 29 Jan 2024 11:19:40 +0200 Subject: [PATCH 06/20] Update readme.md --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index ed444fe..2b6ed7e 100644 --- a/readme.md +++ b/readme.md @@ -11,9 +11,9 @@ This library provides a server side client for the [httpSMS](https://httpsms.com ## Install ```sh -pnpm install httpsms-node +pnpm install httpsms # or -yarn install httpsms-node +yarn install httpsms ``` ## Implemented From 24d4b4de16f61c44758eded6fef7bdc07ef447cc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Mar 2024 00:08:06 +0000 Subject: [PATCH 07/20] chore(deps-dev): bump xo from 0.56.0 to 0.57.0 Bumps [xo](https://github.com/xojs/xo) from 0.56.0 to 0.57.0. - [Release notes](https://github.com/xojs/xo/releases) - [Commits](https://github.com/xojs/xo/compare/v0.56.0...v0.57.0) --- updated-dependencies: - dependency-name: xo dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d50991f..7d8098e 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "msw": "^2.1.2", "ts-node": "^10.9.2", "tsd": "^0.30.4", - "xo": "^0.56.0" + "xo": "^0.57.0" }, "dependencies": { "@types/node": "^20.11.5", From 5d04eb52768b2e13d0e30266f47c92424511078e Mon Sep 17 00:00:00 2001 From: Acho Arnold Date: Fri, 1 Mar 2024 21:55:07 +0200 Subject: [PATCH 08/20] Use Uint8Array instead of Buffer --- src/cipher-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cipher-service.ts b/src/cipher-service.ts index a5e3e6b..36aadf4 100644 --- a/src/cipher-service.ts +++ b/src/cipher-service.ts @@ -36,7 +36,7 @@ class CipherService { ]).toString(); } - private hash(value: string): Buffer { + private hash(value: string): Uint8Array { return createHash('sha256').update(value).digest(); } } From 0676c3b70cd98b99754e83c13d4d48b6393613fc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 00:17:30 +0000 Subject: [PATCH 09/20] chore(deps-dev): bump tsd from 0.30.7 to 0.31.0 Bumps [tsd](https://github.com/tsdjs/tsd) from 0.30.7 to 0.31.0. - [Release notes](https://github.com/tsdjs/tsd/releases) - [Commits](https://github.com/tsdjs/tsd/compare/v0.30.7...v0.31.0) --- updated-dependencies: - dependency-name: tsd dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7d8098e..2229945 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "mocha": "^10.2.0", "msw": "^2.1.2", "ts-node": "^10.9.2", - "tsd": "^0.30.4", + "tsd": "^0.31.0", "xo": "^0.57.0" }, "dependencies": { From 2db76a727cc6650e9f5e2b42c1edb28224a9263a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 14:44:38 +0000 Subject: [PATCH 10/20] chore(deps-dev): bump xo from 0.57.0 to 0.58.0 Bumps [xo](https://github.com/xojs/xo) from 0.57.0 to 0.58.0. - [Release notes](https://github.com/xojs/xo/releases) - [Commits](https://github.com/xojs/xo/compare/v0.57.0...v0.58.0) --- updated-dependencies: - dependency-name: xo dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2229945..7666034 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "msw": "^2.1.2", "ts-node": "^10.9.2", "tsd": "^0.31.0", - "xo": "^0.57.0" + "xo": "^0.58.0" }, "dependencies": { "@types/node": "^20.11.5", From 3d0c5c3c01a710645f92441bfafb9db6246f758a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 01:12:16 +0000 Subject: [PATCH 11/20] chore(deps-dev): bump @sindresorhus/tsconfig from 5.1.1 to 6.0.0 Bumps [@sindresorhus/tsconfig](https://github.com/sindresorhus/tsconfig) from 5.1.1 to 6.0.0. - [Release notes](https://github.com/sindresorhus/tsconfig/releases) - [Commits](https://github.com/sindresorhus/tsconfig/compare/v5.1.1...v6.0.0) --- updated-dependencies: - dependency-name: "@sindresorhus/tsconfig" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7666034..1938dc0 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "httpsms" ], "devDependencies": { - "@sindresorhus/tsconfig": "^5.0.0", + "@sindresorhus/tsconfig": "^6.0.0", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "chai": "^5.0.0", From 15669bec0668d2d1f4e8af7d8e30c2551f96b731 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 00:42:46 +0000 Subject: [PATCH 12/20] fix(deps): bump @types/node from 20.14.13 to 22.0.2 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.13 to 22.0.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1938dc0..21a5c26 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "xo": "^0.58.0" }, "dependencies": { - "@types/node": "^20.11.5", + "@types/node": "^22.0.2", "axios": "^1.6.5" }, "prettier": { From 462ce63a621a2748b063b4ba65da82d19ef13392 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 00:43:05 +0000 Subject: [PATCH 13/20] chore(deps-dev): bump xo from 0.58.0 to 0.59.3 Bumps [xo](https://github.com/xojs/xo) from 0.58.0 to 0.59.3. - [Release notes](https://github.com/xojs/xo/releases) - [Commits](https://github.com/xojs/xo/compare/v0.58.0...v0.59.3) --- updated-dependencies: - dependency-name: xo dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1938dc0..a43e413 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "msw": "^2.1.2", "ts-node": "^10.9.2", "tsd": "^0.31.0", - "xo": "^0.58.0" + "xo": "^0.59.3" }, "dependencies": { "@types/node": "^20.11.5", From 97761f98720218bf1fffd16cf1930e93f97749a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 00:31:46 +0000 Subject: [PATCH 14/20] chore(deps-dev): bump @types/chai from 4.3.20 to 5.0.0 Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.20 to 5.0.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai) --- updated-dependencies: - dependency-name: "@types/chai" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f9fcda7..dd84ebe 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ ], "devDependencies": { "@sindresorhus/tsconfig": "^6.0.0", - "@types/chai": "^4.3.11", + "@types/chai": "^5.0.0", "@types/mocha": "^10.0.6", "chai": "^5.0.0", "del-cli": "^5.1.0", From 942bc50f27c1c8b0450eeaecb7827de9046a62dc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 00:57:37 +0000 Subject: [PATCH 15/20] chore(deps-dev): bump del-cli from 5.1.0 to 6.0.0 Bumps [del-cli](https://github.com/sindresorhus/del-cli) from 5.1.0 to 6.0.0. - [Release notes](https://github.com/sindresorhus/del-cli/releases) - [Commits](https://github.com/sindresorhus/del-cli/compare/v5.1.0...v6.0.0) --- updated-dependencies: - dependency-name: del-cli dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dd84ebe..ccde689 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@types/chai": "^5.0.0", "@types/mocha": "^10.0.6", "chai": "^5.0.0", - "del-cli": "^5.1.0", + "del-cli": "^6.0.0", "mocha": "^10.2.0", "msw": "^2.1.2", "ts-node": "^10.9.2", From 0645b0587a1b8e3a60cb6d2e11840e9d94480106 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 00:10:38 +0000 Subject: [PATCH 16/20] chore(deps-dev): bump @sindresorhus/tsconfig from 6.0.0 to 7.0.0 Bumps [@sindresorhus/tsconfig](https://github.com/sindresorhus/tsconfig) from 6.0.0 to 7.0.0. - [Release notes](https://github.com/sindresorhus/tsconfig/releases) - [Commits](https://github.com/sindresorhus/tsconfig/compare/v6.0.0...v7.0.0) --- updated-dependencies: - dependency-name: "@sindresorhus/tsconfig" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ccde689..c0c0825 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "httpsms" ], "devDependencies": { - "@sindresorhus/tsconfig": "^6.0.0", + "@sindresorhus/tsconfig": "^7.0.0", "@types/chai": "^5.0.0", "@types/mocha": "^10.0.6", "chai": "^5.0.0", From acfd253f8155a839ae248729a1f45f98bf0adc14 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Jan 2025 00:17:37 +0000 Subject: [PATCH 17/20] chore(deps-dev): bump xo from 0.59.3 to 0.60.0 Bumps [xo](https://github.com/xojs/xo) from 0.59.3 to 0.60.0. - [Release notes](https://github.com/xojs/xo/releases) - [Commits](https://github.com/xojs/xo/compare/v0.59.3...v0.60.0) --- updated-dependencies: - dependency-name: xo dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c0c0825..b0be321 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "msw": "^2.1.2", "ts-node": "^10.9.2", "tsd": "^0.31.0", - "xo": "^0.59.3" + "xo": "^0.60.0" }, "dependencies": { "@types/node": "^22.0.2", From 584872c0a9124484d765a7c36570e48e0fcfbe66 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Jan 2025 00:17:56 +0000 Subject: [PATCH 18/20] chore(deps-dev): bump mocha from 10.8.2 to 11.0.1 Bumps [mocha](https://github.com/mochajs/mocha) from 10.8.2 to 11.0.1. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v10.8.2...v11.0.1) --- updated-dependencies: - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c0c0825..c956783 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@types/mocha": "^10.0.6", "chai": "^5.0.0", "del-cli": "^6.0.0", - "mocha": "^10.2.0", + "mocha": "^11.0.1", "msw": "^2.1.2", "ts-node": "^10.9.2", "tsd": "^0.31.0", From 0de8ff702fd14e641d9b8a27625aaf2f1d50c1b5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 May 2025 00:47:01 +0000 Subject: [PATCH 19/20] chore(deps-dev): bump tsd from 0.31.2 to 0.32.0 Bumps [tsd](https://github.com/tsdjs/tsd) from 0.31.2 to 0.32.0. - [Release notes](https://github.com/tsdjs/tsd/releases) - [Commits](https://github.com/tsdjs/tsd/compare/v0.31.2...v0.32.0) --- updated-dependencies: - dependency-name: tsd dependency-version: 0.32.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bc82c91..e8116bb 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "mocha": "^11.0.1", "msw": "^2.1.2", "ts-node": "^10.9.2", - "tsd": "^0.31.0", + "tsd": "^0.32.0", "xo": "^0.60.0" }, "dependencies": { From 63d70b36c4400ad0a2efef4d5ee6e156700faf1c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Jun 2025 00:36:16 +0000 Subject: [PATCH 20/20] chore(deps-dev): bump xo from 0.60.0 to 1.0.5 Bumps [xo](https://github.com/xojs/xo) from 0.60.0 to 1.0.5. - [Release notes](https://github.com/xojs/xo/releases) - [Commits](https://github.com/xojs/xo/compare/v0.60.0...v1.0.5) --- updated-dependencies: - dependency-name: xo dependency-version: 1.0.5 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e8116bb..a506d84 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "msw": "^2.1.2", "ts-node": "^10.9.2", "tsd": "^0.32.0", - "xo": "^0.60.0" + "xo": "^1.0.5" }, "dependencies": { "@types/node": "^22.0.2", pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy