@fctc/interface-logic 3.4.2 → 3.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/hooks.js CHANGED
@@ -4752,12 +4752,12 @@ function useViewService() {
4752
4752
  path,
4753
4753
  scope
4754
4754
  }) => {
4755
- const params = new URLSearchParams({
4756
- response_type,
4757
- client_id,
4755
+ const params = Object.entries({
4758
4756
  redirect_uri,
4759
- state
4760
- });
4757
+ state,
4758
+ client_id,
4759
+ response_type
4760
+ }).map(([key, value]) => `${key}=${value}`).join("&");
4761
4761
  const queryString = `${params.toString()}&scope=${encodeURIComponent(
4762
4762
  scope
4763
4763
  )}`;
package/dist/hooks.mjs CHANGED
@@ -4617,12 +4617,12 @@ function useViewService() {
4617
4617
  path,
4618
4618
  scope
4619
4619
  }) => {
4620
- const params = new URLSearchParams({
4621
- response_type,
4622
- client_id,
4620
+ const params = Object.entries({
4623
4621
  redirect_uri,
4624
- state
4625
- });
4622
+ state,
4623
+ client_id,
4624
+ response_type
4625
+ }).map(([key, value]) => `${key}=${value}`).join("&");
4626
4626
  const queryString = `${params.toString()}&scope=${encodeURIComponent(
4627
4627
  scope
4628
4628
  )}`;
package/dist/provider.js CHANGED
@@ -4746,12 +4746,12 @@ function useViewService() {
4746
4746
  path,
4747
4747
  scope
4748
4748
  }) => {
4749
- const params = new URLSearchParams({
4750
- response_type,
4751
- client_id,
4749
+ const params = Object.entries({
4752
4750
  redirect_uri,
4753
- state
4754
- });
4751
+ state,
4752
+ client_id,
4753
+ response_type
4754
+ }).map(([key, value]) => `${key}=${value}`).join("&");
4755
4755
  const queryString = `${params.toString()}&scope=${encodeURIComponent(
4756
4756
  scope
4757
4757
  )}`;
package/dist/provider.mjs CHANGED
@@ -4703,12 +4703,12 @@ function useViewService() {
4703
4703
  path,
4704
4704
  scope
4705
4705
  }) => {
4706
- const params = new URLSearchParams({
4707
- response_type,
4708
- client_id,
4706
+ const params = Object.entries({
4709
4707
  redirect_uri,
4710
- state
4711
- });
4708
+ state,
4709
+ client_id,
4710
+ response_type
4711
+ }).map(([key, value]) => `${key}=${value}`).join("&");
4712
4712
  const queryString = `${params.toString()}&scope=${encodeURIComponent(
4713
4713
  scope
4714
4714
  )}`;
package/dist/services.js CHANGED
@@ -4932,12 +4932,12 @@ function useViewService() {
4932
4932
  path,
4933
4933
  scope
4934
4934
  }) => {
4935
- const params = new URLSearchParams({
4936
- response_type,
4937
- client_id,
4935
+ const params = Object.entries({
4938
4936
  redirect_uri,
4939
- state
4940
- });
4937
+ state,
4938
+ client_id,
4939
+ response_type
4940
+ }).map(([key, value]) => `${key}=${value}`).join("&");
4941
4941
  const queryString = `${params.toString()}&scope=${encodeURIComponent(
4942
4942
  scope
4943
4943
  )}`;
package/dist/services.mjs CHANGED
@@ -4888,12 +4888,12 @@ function useViewService() {
4888
4888
  path,
4889
4889
  scope
4890
4890
  }) => {
4891
- const params = new URLSearchParams({
4892
- response_type,
4893
- client_id,
4891
+ const params = Object.entries({
4894
4892
  redirect_uri,
4895
- state
4896
- });
4893
+ state,
4894
+ client_id,
4895
+ response_type
4896
+ }).map(([key, value]) => `${key}=${value}`).join("&");
4897
4897
  const queryString = `${params.toString()}&scope=${encodeURIComponent(
4898
4898
  scope
4899
4899
  )}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/interface-logic",
3
- "version": "3.4.2",
3
+ "version": "3.4.3",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",