From 1b21ad9d452e62b240655a632e30d393bfa06be4 Mon Sep 17 00:00:00 2001 From: Ahmed felfel <36571501+paprikaf@users.noreply.github.com> Date: Sat, 13 Dec 2025 21:02:15 -0500 Subject: [PATCH] new version --- core/package.json | 2 +- core/src/implementations/DefaultOAuthHandler.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/package.json b/core/package.json index 022680d..f7dd7ae 100644 --- a/core/package.json +++ b/core/package.json @@ -1,6 +1,6 @@ { "name": "@crate.ai/discogs-sdk", - "version": "2.4.0", + "version": "2.4.1", "description": "an SDK for the Discogs API", "repository": { "type": "git", diff --git a/core/src/implementations/DefaultOAuthHandler.ts b/core/src/implementations/DefaultOAuthHandler.ts index 9714d9d..9792b0e 100644 --- a/core/src/implementations/DefaultOAuthHandler.ts +++ b/core/src/implementations/DefaultOAuthHandler.ts @@ -45,7 +45,7 @@ export class DefaultOAuthHandler implements OAuthHandler { `OAuth oauth_consumer_key="${this.config.consumerKey}",` + `oauth_nonce="${nonce}",` + `oauth_callback="${encodeURIComponent(this.config.callbackUrl)}",` + - `oauth_signature="${encodeURIComponent(signature)}",` + + `oauth_signature="${signature}",` + `oauth_signature_method="PLAINTEXT",` + `oauth_timestamp="${timestamp}",` + `oauth_version="1.0"`; @@ -120,7 +120,7 @@ export class DefaultOAuthHandler implements OAuthHandler { `oauth_nonce="${nonce}",` + `oauth_token="${requestToken}",` + `oauth_verifier="${params.oauthVerifier}",` + - `oauth_signature="${encodeURIComponent(signature)}",` + + `oauth_signature="${signature}",` + `oauth_signature_method="PLAINTEXT",` + `oauth_timestamp="${timestamp}",` + `oauth_version="1.0"`;