@ama-sdk/core 10.0.0-next.9 → 11.0.0-next.0
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/README.md +51 -31
- package/cjs/clients/api-angular-client.js +6 -2
- package/cjs/clients/api-beacon-client.js +3 -2
- package/cjs/clients/api-fetch-client.js +9 -4
- package/cjs/fwk/Reviver.js +3 -3
- package/cjs/fwk/api.helpers.js +9 -10
- package/cjs/fwk/api.js +2 -2
- package/cjs/fwk/date.js +4 -39
- package/cjs/fwk/errors.js +10 -11
- package/cjs/fwk/index.js +1 -0
- package/cjs/fwk/logger.js +9 -0
- package/cjs/fwk/mocks/alf-mock-adapter.js +1 -8
- package/cjs/fwk/mocks/base-mock-adapter.js +0 -12
- package/cjs/plugins/additional-params/additional-params.request.js +5 -5
- package/cjs/plugins/api-configuration-override/api-configuration-override.request.js +2 -2
- package/cjs/plugins/api-key/api-key.request.js +2 -2
- package/cjs/plugins/bot-protection-fingerprint/bot-protection-fingerprint.request.js +77 -105
- package/cjs/plugins/bot-protection-fingerprint/bot-protection-fingerprint.spec.js +9 -98
- package/cjs/plugins/client-facts/client-facts.request.js +5 -7
- package/cjs/plugins/concurrent/concurrent.fetch.js +2 -2
- package/cjs/plugins/core/plugin.js +1 -3
- package/cjs/plugins/custom-info/custom-info.reply.js +0 -1
- package/cjs/plugins/index.js +0 -21
- package/cjs/plugins/mgw-mdw-auth/mgw-mdw-auth.request.js +7 -9
- package/cjs/plugins/mgw-mdw-auth/mgw-mdw-auth.spec.js +1 -0
- package/cjs/plugins/mock-intercept/mock-intercept.fetch.js +5 -4
- package/cjs/plugins/mock-intercept/mock-intercept.request.js +3 -3
- package/cjs/plugins/mock-intercept/mock-intercept.spec.js +1 -3
- package/cjs/plugins/perf-metric/perf-metric.fetch.js +2 -5
- package/cjs/plugins/pii-tokenizer/pii-tokenizer.request.js +12 -14
- package/cjs/plugins/pii-tokenizer/pii-tokenizer.spec.js +3 -1
- package/cjs/plugins/retry/retry.fetch.js +2 -3
- package/cjs/plugins/session-id/session-id.request.js +10 -11
- package/cjs/plugins/session-id/session-id.spec.js +12 -8
- package/cjs/plugins/simple-api-key-authentication/simple-api-key-authentication.request.js +2 -4
- package/cjs/plugins/timeout/timeout.fetch.js +75 -15
- package/cjs/plugins/timeout/timeout.spec.js +102 -3
- package/cjs/plugins/url-rewrite/url-rewrite.request.js +2 -2
- package/cjs/plugins/wait-for/wait-for.fetch.js +2 -2
- package/cjs/public_api.js +1 -0
- package/cjs/utils/crypto.js +5 -5
- package/cjs/utils/encoder.js +0 -5
- package/cjs/{plugins/gateway-token → utils}/index.js +5 -2
- package/cjs/utils/json-token.js +11 -13
- package/cjs/utils/json-token.spec.js +4 -2
- package/cjs/utils/mime-types.js +22 -0
- package/cli/clear-index.cjs +25 -0
- package/cli/clear-index.cjs.map +1 -0
- package/cli/clear-index.d.cts +3 -0
- package/cli/clear-index.d.cts.map +1 -0
- package/cli/files-pack.cjs +84 -0
- package/cli/files-pack.cjs.map +1 -0
- package/cli/files-pack.d.cts +3 -0
- package/cli/files-pack.d.cts.map +1 -0
- package/cli/package.json +3 -0
- package/esm2015/clients/api-angular-client.js +6 -2
- package/esm2015/clients/api-beacon-client.js +3 -2
- package/esm2015/clients/api-fetch-client.js +9 -4
- package/esm2015/fwk/Reviver.js +0 -3
- package/esm2015/fwk/api.helpers.js +3 -3
- package/esm2015/fwk/api.interface.js +1 -1
- package/esm2015/fwk/api.js +2 -2
- package/esm2015/fwk/core/api-client.js +0 -1
- package/esm2015/fwk/core/base-api-constructor.js +0 -1
- package/esm2015/fwk/date.js +1 -38
- package/esm2015/fwk/errors.js +2 -3
- package/esm2015/fwk/index.js +1 -0
- package/esm2015/fwk/logger.js +6 -0
- package/esm2015/fwk/mocks/alf-mock-adapter.js +1 -9
- package/esm2015/fwk/mocks/base-mock-adapter.js +0 -12
- package/esm2015/fwk/mocks/encoded-api-request.js +3 -1
- package/esm2015/fwk/mocks/helpers.js +0 -2
- package/esm2015/fwk/mocks/mock-adapter.js +1 -1
- package/esm2015/fwk/mocks/path-object.js +1 -1
- package/esm2015/plugins/additional-params/additional-params.request.js +2 -3
- package/esm2015/plugins/api-configuration-override/api-configuration-override.request.js +2 -3
- package/esm2015/plugins/api-key/api-key.request.js +2 -2
- package/esm2015/plugins/bot-protection-fingerprint/bot-protection-fingerprint.request.js +84 -118
- package/esm2015/plugins/bot-protection-fingerprint/bot-protection-fingerprint.spec.js +10 -99
- package/esm2015/plugins/client-facts/client-facts.request.js +14 -7
- package/esm2015/plugins/concurrent/concurrent.fetch.js +2 -2
- package/esm2015/plugins/core/fetch-plugin.js +4 -1
- package/esm2015/plugins/core/plugin.js +1 -1
- package/esm2015/plugins/core/reply-plugin.js +4 -1
- package/esm2015/plugins/core/request-plugin.js +4 -1
- package/esm2015/plugins/custom-info/custom-info.reply.js +0 -1
- package/esm2015/plugins/index.js +0 -4
- package/esm2015/plugins/mgw-mdw-auth/mgw-mdw-auth.request.js +3 -7
- package/esm2015/plugins/mgw-mdw-auth/mgw-mdw-auth.spec.js +1 -0
- package/esm2015/plugins/mock-intercept/mock-intercept.fetch.js +5 -4
- package/esm2015/plugins/mock-intercept/mock-intercept.request.js +3 -3
- package/esm2015/plugins/mock-intercept/mock-intercept.spec.js +1 -3
- package/esm2015/plugins/perf-metric/perf-metric.fetch.js +2 -5
- package/esm2015/plugins/pii-tokenizer/pii-tokenizer.request.js +19 -21
- package/esm2015/plugins/retry/retry.fetch.js +2 -3
- package/esm2015/plugins/session-id/session-id.request.js +10 -11
- package/esm2015/plugins/session-id/session-id.spec.js +12 -8
- package/esm2015/plugins/simple-api-key-authentication/simple-api-key-authentication.request.js +10 -10
- package/esm2015/plugins/timeout/timeout.fetch.js +70 -12
- package/esm2015/plugins/timeout/timeout.spec.js +102 -3
- package/esm2015/plugins/url-rewrite/url-rewrite.request.js +2 -2
- package/esm2015/plugins/wait-for/wait-for.fetch.js +4 -3
- package/esm2015/public_api.js +1 -0
- package/esm2015/utils/crypto.js +0 -4
- package/esm2015/utils/encoder.js +0 -5
- package/esm2015/utils/ie11.js +0 -1
- package/esm2015/utils/index.js +5 -0
- package/esm2015/utils/json-token.js +2 -7
- package/esm2015/utils/json-token.spec.js +4 -2
- package/esm2015/utils/mime-types.js +7 -0
- package/package.json +51 -36
- package/schematics/ng-add/index.d.ts.map +1 -1
- package/schematics/ng-add/index.js +38 -20
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/ng-add/schema.json +2 -2
- package/src/clients/api-angular-client.d.ts.map +1 -1
- package/src/clients/api-angular-client.js +3 -2
- package/src/clients/api-angular-client.js.map +1 -1
- package/src/clients/api-beacon-client.d.ts +0 -1
- package/src/clients/api-beacon-client.d.ts.map +1 -1
- package/src/clients/api-beacon-client.js +1 -3
- package/src/clients/api-beacon-client.js.map +1 -1
- package/src/clients/api-fetch-client.d.ts +0 -1
- package/src/clients/api-fetch-client.d.ts.map +1 -1
- package/src/clients/api-fetch-client.js +5 -5
- package/src/clients/api-fetch-client.js.map +1 -1
- package/src/fwk/Reviver.d.ts +0 -3
- package/src/fwk/Reviver.d.ts.map +1 -1
- package/src/fwk/Reviver.js +0 -3
- package/src/fwk/Reviver.js.map +1 -1
- package/src/fwk/api.helpers.d.ts +2 -1
- package/src/fwk/api.helpers.d.ts.map +1 -1
- package/src/fwk/api.helpers.js +2 -1
- package/src/fwk/api.helpers.js.map +1 -1
- package/src/fwk/core/api-client.d.ts +0 -4
- package/src/fwk/core/api-client.d.ts.map +1 -1
- package/src/fwk/core/api-client.js +0 -1
- package/src/fwk/core/api-client.js.map +1 -1
- package/src/fwk/core/base-api-constructor.d.ts +3 -2
- package/src/fwk/core/base-api-constructor.d.ts.map +1 -1
- package/src/fwk/core/base-api-constructor.js +0 -1
- package/src/fwk/core/base-api-constructor.js.map +1 -1
- package/src/fwk/date.d.ts +0 -15
- package/src/fwk/date.d.ts.map +1 -1
- package/src/fwk/date.js +0 -36
- package/src/fwk/date.js.map +1 -1
- package/src/fwk/index.d.ts +1 -0
- package/src/fwk/index.d.ts.map +1 -1
- package/src/fwk/index.js +1 -0
- package/src/fwk/index.js.map +1 -1
- package/src/fwk/logger.d.ts +39 -0
- package/src/fwk/logger.d.ts.map +1 -0
- package/src/fwk/logger.js +2 -0
- package/src/fwk/logger.js.map +1 -0
- package/src/fwk/mocks/alf-mock-adapter.d.ts +0 -1
- package/src/fwk/mocks/alf-mock-adapter.d.ts.map +1 -1
- package/src/fwk/mocks/alf-mock-adapter.js +0 -7
- package/src/fwk/mocks/alf-mock-adapter.js.map +1 -1
- package/src/fwk/mocks/base-mock-adapter.d.ts +0 -4
- package/src/fwk/mocks/base-mock-adapter.d.ts.map +1 -1
- package/src/fwk/mocks/base-mock-adapter.js +0 -10
- package/src/fwk/mocks/base-mock-adapter.js.map +1 -1
- package/src/fwk/mocks/helpers.d.ts +0 -2
- package/src/fwk/mocks/helpers.d.ts.map +1 -1
- package/src/fwk/mocks/helpers.js +0 -2
- package/src/fwk/mocks/helpers.js.map +1 -1
- package/src/fwk/mocks/mock-adapter.d.ts +0 -10
- package/src/fwk/mocks/mock-adapter.d.ts.map +1 -1
- package/src/fwk/mocks/random-mock-adapter.d.ts +1 -1
- package/src/fwk/mocks/random-mock-adapter.d.ts.map +1 -1
- package/src/fwk/mocks/random-mock-adapter.js.map +1 -1
- package/src/plugins/additional-params/additional-params-sync.request.d.ts +1 -2
- package/src/plugins/additional-params/additional-params-sync.request.d.ts.map +1 -1
- package/src/plugins/additional-params/additional-params-sync.request.js +0 -1
- package/src/plugins/additional-params/additional-params-sync.request.js.map +1 -1
- package/src/plugins/additional-params/additional-params.request.d.ts +1 -3
- package/src/plugins/additional-params/additional-params.request.d.ts.map +1 -1
- package/src/plugins/additional-params/additional-params.request.js +0 -2
- package/src/plugins/additional-params/additional-params.request.js.map +1 -1
- package/src/plugins/api-configuration-override/api-configuration-override.request.d.ts +2 -4
- package/src/plugins/api-configuration-override/api-configuration-override.request.d.ts.map +1 -1
- package/src/plugins/api-configuration-override/api-configuration-override.request.js +0 -2
- package/src/plugins/api-configuration-override/api-configuration-override.request.js.map +1 -1
- package/src/plugins/api-key/api-key.request.d.ts +2 -3
- package/src/plugins/api-key/api-key.request.d.ts.map +1 -1
- package/src/plugins/api-key/api-key.request.js +0 -1
- package/src/plugins/api-key/api-key.request.js.map +1 -1
- package/src/plugins/bot-protection-fingerprint/bot-protection-fingerprint.request.d.ts +16 -31
- package/src/plugins/bot-protection-fingerprint/bot-protection-fingerprint.request.d.ts.map +1 -1
- package/src/plugins/bot-protection-fingerprint/bot-protection-fingerprint.request.js +20 -61
- package/src/plugins/bot-protection-fingerprint/bot-protection-fingerprint.request.js.map +1 -1
- package/src/plugins/client-facts/client-facts.request.d.ts +15 -8
- package/src/plugins/client-facts/client-facts.request.d.ts.map +1 -1
- package/src/plugins/client-facts/client-facts.request.js +12 -5
- package/src/plugins/client-facts/client-facts.request.js.map +1 -1
- package/src/plugins/concurrent/concurrent.fetch.d.ts +1 -2
- package/src/plugins/concurrent/concurrent.fetch.d.ts.map +1 -1
- package/src/plugins/concurrent/concurrent.fetch.js +0 -1
- package/src/plugins/concurrent/concurrent.fetch.js.map +1 -1
- package/src/plugins/core/fetch-plugin.d.ts +7 -4
- package/src/plugins/core/fetch-plugin.d.ts.map +1 -1
- package/src/plugins/core/plugin.d.ts +15 -2
- package/src/plugins/core/plugin.d.ts.map +1 -1
- package/src/plugins/core/reply-plugin.d.ts +8 -5
- package/src/plugins/core/reply-plugin.d.ts.map +1 -1
- package/src/plugins/core/request-plugin.d.ts +11 -3
- package/src/plugins/core/request-plugin.d.ts.map +1 -1
- package/src/plugins/custom-info/custom-info.reply.d.ts +1 -3
- package/src/plugins/custom-info/custom-info.reply.d.ts.map +1 -1
- package/src/plugins/custom-info/custom-info.reply.js +0 -2
- package/src/plugins/custom-info/custom-info.reply.js.map +1 -1
- package/src/plugins/exception/exception.reply.d.ts +1 -1
- package/src/plugins/exception/exception.reply.d.ts.map +1 -1
- package/src/plugins/exception/exception.reply.js.map +1 -1
- package/src/plugins/fetch-cache/fetch-cache.request.d.ts +3 -3
- package/src/plugins/fetch-cache/fetch-cache.request.d.ts.map +1 -1
- package/src/plugins/fetch-credentials/fetch-credentials.request.d.ts +1 -1
- package/src/plugins/fetch-credentials/fetch-credentials.request.d.ts.map +1 -1
- package/src/plugins/index.d.ts +0 -4
- package/src/plugins/index.d.ts.map +1 -1
- package/src/plugins/index.js +0 -4
- package/src/plugins/index.js.map +1 -1
- package/src/plugins/json-token/json-token.reply.d.ts +0 -1
- package/src/plugins/json-token/json-token.reply.d.ts.map +1 -1
- package/src/plugins/json-token/json-token.reply.js +0 -1
- package/src/plugins/json-token/json-token.reply.js.map +1 -1
- package/src/plugins/json-token/json-token.request.d.ts +2 -3
- package/src/plugins/json-token/json-token.request.d.ts.map +1 -1
- package/src/plugins/json-token/json-token.request.js +0 -1
- package/src/plugins/json-token/json-token.request.js.map +1 -1
- package/src/plugins/mgw-mdw-auth/mgw-mdw-auth.request.d.ts +2 -8
- package/src/plugins/mgw-mdw-auth/mgw-mdw-auth.request.d.ts.map +1 -1
- package/src/plugins/mgw-mdw-auth/mgw-mdw-auth.request.js +0 -6
- package/src/plugins/mgw-mdw-auth/mgw-mdw-auth.request.js.map +1 -1
- package/src/plugins/mock-intercept/mock-intercept.fetch.d.ts.map +1 -1
- package/src/plugins/mock-intercept/mock-intercept.fetch.js +3 -2
- package/src/plugins/mock-intercept/mock-intercept.fetch.js.map +1 -1
- package/src/plugins/mock-intercept/mock-intercept.request.d.ts +1 -1
- package/src/plugins/mock-intercept/mock-intercept.request.d.ts.map +1 -1
- package/src/plugins/mock-intercept/mock-intercept.request.js +1 -1
- package/src/plugins/mock-intercept/mock-intercept.request.js.map +1 -1
- package/src/plugins/perf-metric/perf-metric.fetch.d.ts +0 -3
- package/src/plugins/perf-metric/perf-metric.fetch.d.ts.map +1 -1
- package/src/plugins/perf-metric/perf-metric.fetch.js +0 -3
- package/src/plugins/perf-metric/perf-metric.fetch.js.map +1 -1
- package/src/plugins/pii-tokenizer/pii-tokenizer.request.d.ts +19 -21
- package/src/plugins/pii-tokenizer/pii-tokenizer.request.d.ts.map +1 -1
- package/src/plugins/pii-tokenizer/pii-tokenizer.request.js +18 -20
- package/src/plugins/pii-tokenizer/pii-tokenizer.request.js.map +1 -1
- package/src/plugins/retry/retry.fetch.d.ts +8 -7
- package/src/plugins/retry/retry.fetch.d.ts.map +1 -1
- package/src/plugins/retry/retry.fetch.js +0 -2
- package/src/plugins/retry/retry.fetch.js.map +1 -1
- package/src/plugins/session-id/session-id.request.d.ts +7 -6
- package/src/plugins/session-id/session-id.request.d.ts.map +1 -1
- package/src/plugins/session-id/session-id.request.js +11 -12
- package/src/plugins/session-id/session-id.request.js.map +1 -1
- package/src/plugins/si-token/si-token.request.d.ts +0 -1
- package/src/plugins/si-token/si-token.request.d.ts.map +1 -1
- package/src/plugins/si-token/si-token.request.js +0 -1
- package/src/plugins/si-token/si-token.request.js.map +1 -1
- package/src/plugins/simple-api-key-authentication/simple-api-key-authentication.request.d.ts +10 -11
- package/src/plugins/simple-api-key-authentication/simple-api-key-authentication.request.d.ts.map +1 -1
- package/src/plugins/simple-api-key-authentication/simple-api-key-authentication.request.js +8 -9
- package/src/plugins/simple-api-key-authentication/simple-api-key-authentication.request.js.map +1 -1
- package/src/plugins/timeout/timeout.fetch.d.ts +31 -2
- package/src/plugins/timeout/timeout.fetch.d.ts.map +1 -1
- package/src/plugins/timeout/timeout.fetch.js +62 -10
- package/src/plugins/timeout/timeout.fetch.js.map +1 -1
- package/src/plugins/url-rewrite/url-rewrite.request.d.ts +1 -2
- package/src/plugins/url-rewrite/url-rewrite.request.d.ts.map +1 -1
- package/src/plugins/url-rewrite/url-rewrite.request.js +0 -1
- package/src/plugins/url-rewrite/url-rewrite.request.js.map +1 -1
- package/src/plugins/wait-for/wait-for.fetch.d.ts +2 -3
- package/src/plugins/wait-for/wait-for.fetch.d.ts.map +1 -1
- package/src/plugins/wait-for/wait-for.fetch.js +2 -2
- package/src/plugins/wait-for/wait-for.fetch.js.map +1 -1
- package/src/public_api.d.ts +1 -0
- package/src/public_api.d.ts.map +1 -1
- package/src/public_api.js +1 -0
- package/src/public_api.js.map +1 -1
- package/src/utils/crypto.d.ts +0 -4
- package/src/utils/crypto.d.ts.map +1 -1
- package/src/utils/crypto.js +0 -4
- package/src/utils/crypto.js.map +1 -1
- package/src/utils/encoder.d.ts +0 -1
- package/src/utils/encoder.d.ts.map +1 -1
- package/src/utils/encoder.js +0 -5
- package/src/utils/encoder.js.map +1 -1
- package/src/utils/ie11.d.ts +0 -1
- package/src/utils/ie11.d.ts.map +1 -1
- package/src/utils/ie11.js +0 -1
- package/src/utils/ie11.js.map +1 -1
- package/src/utils/index.d.ts +6 -0
- package/src/utils/index.d.ts.map +1 -0
- package/src/utils/index.js +6 -0
- package/src/utils/index.js.map +1 -0
- package/src/utils/json-token.d.ts +0 -3
- package/src/utils/json-token.d.ts.map +1 -1
- package/src/utils/json-token.js +0 -5
- package/src/utils/json-token.js.map +1 -1
- package/src/utils/mime-types.d.ts +7 -0
- package/src/utils/mime-types.d.ts.map +1 -0
- package/src/utils/mime-types.js +9 -0
- package/src/utils/mime-types.js.map +1 -0
- package/cjs/plugins/fetch-options/fetch-options.request.js +0 -87
- package/cjs/plugins/fetch-options/fetch-options.spec.js +0 -280
- package/cjs/plugins/fetch-options/index.js +0 -18
- package/cjs/plugins/gateway-token/gateway-authentication.js +0 -275
- package/cjs/plugins/gateway-token/gateway-token.request.js +0 -388
- package/cjs/plugins/gateway-token/gateway-token.spec.js +0 -360
- package/cjs/plugins/imperva/imperva.fetch.js +0 -307
- package/cjs/plugins/imperva/imperva.spec.js +0 -347
- package/cjs/plugins/imperva/index.js +0 -18
- package/cjs/plugins/public-facts/index.js +0 -18
- package/cjs/plugins/public-facts/public-facts.request.js +0 -101
- package/cjs/plugins/public-facts/public-facts.spec.js +0 -367
- package/esm2015/plugins/fetch-options/fetch-options.request.js +0 -81
- package/esm2015/plugins/fetch-options/fetch-options.spec.js +0 -276
- package/esm2015/plugins/fetch-options/index.js +0 -1
- package/esm2015/plugins/gateway-token/gateway-authentication.js +0 -262
- package/esm2015/plugins/gateway-token/gateway-token.request.js +0 -406
- package/esm2015/plugins/gateway-token/gateway-token.spec.js +0 -356
- package/esm2015/plugins/gateway-token/index.js +0 -2
- package/esm2015/plugins/imperva/imperva.fetch.js +0 -303
- package/esm2015/plugins/imperva/imperva.spec.js +0 -343
- package/esm2015/plugins/imperva/index.js +0 -1
- package/esm2015/plugins/public-facts/index.js +0 -1
- package/esm2015/plugins/public-facts/public-facts.request.js +0 -138
- package/esm2015/plugins/public-facts/public-facts.spec.js +0 -363
- package/src/plugins/fetch-options/fetch-options.request.d.ts +0 -26
- package/src/plugins/fetch-options/fetch-options.request.d.ts.map +0 -1
- package/src/plugins/fetch-options/fetch-options.request.js +0 -22
- package/src/plugins/fetch-options/fetch-options.request.js.map +0 -1
- package/src/plugins/fetch-options/index.d.ts +0 -2
- package/src/plugins/fetch-options/index.d.ts.map +0 -1
- package/src/plugins/fetch-options/index.js +0 -2
- package/src/plugins/fetch-options/index.js.map +0 -1
- package/src/plugins/gateway-token/gateway-authentication.d.ts +0 -105
- package/src/plugins/gateway-token/gateway-authentication.d.ts.map +0 -1
- package/src/plugins/gateway-token/gateway-authentication.js +0 -74
- package/src/plugins/gateway-token/gateway-authentication.js.map +0 -1
- package/src/plugins/gateway-token/gateway-token.request.d.ts +0 -97
- package/src/plugins/gateway-token/gateway-token.request.d.ts.map +0 -1
- package/src/plugins/gateway-token/gateway-token.request.js +0 -127
- package/src/plugins/gateway-token/gateway-token.request.js.map +0 -1
- package/src/plugins/gateway-token/index.d.ts +0 -3
- package/src/plugins/gateway-token/index.d.ts.map +0 -1
- package/src/plugins/gateway-token/index.js +0 -3
- package/src/plugins/gateway-token/index.js.map +0 -1
- package/src/plugins/imperva/imperva.fetch.d.ts +0 -33
- package/src/plugins/imperva/imperva.fetch.d.ts.map +0 -1
- package/src/plugins/imperva/imperva.fetch.js +0 -41
- package/src/plugins/imperva/imperva.fetch.js.map +0 -1
- package/src/plugins/imperva/index.d.ts +0 -2
- package/src/plugins/imperva/index.d.ts.map +0 -1
- package/src/plugins/imperva/index.js +0 -2
- package/src/plugins/imperva/index.js.map +0 -1
- package/src/plugins/public-facts/index.d.ts +0 -2
- package/src/plugins/public-facts/index.d.ts.map +0 -1
- package/src/plugins/public-facts/index.js +0 -2
- package/src/plugins/public-facts/index.js.map +0 -1
- package/src/plugins/public-facts/public-facts.request.d.ts +0 -89
- package/src/plugins/public-facts/public-facts.request.d.ts.map +0 -1
- package/src/plugins/public-facts/public-facts.request.js +0 -62
- package/src/plugins/public-facts/public-facts.request.js.map +0 -1
|
@@ -1,343 +0,0 @@
|
|
|
1
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
2
|
-
try {
|
|
3
|
-
var info = gen[key](arg);
|
|
4
|
-
var value = info.value;
|
|
5
|
-
} catch (error) {
|
|
6
|
-
reject(error);
|
|
7
|
-
return;
|
|
8
|
-
}
|
|
9
|
-
if (info.done) {
|
|
10
|
-
resolve(value);
|
|
11
|
-
} else {
|
|
12
|
-
Promise.resolve(value).then(_next, _throw);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
function _async_to_generator(fn) {
|
|
16
|
-
return function() {
|
|
17
|
-
var self = this, args = arguments;
|
|
18
|
-
return new Promise(function(resolve, reject) {
|
|
19
|
-
var gen = fn.apply(self, args);
|
|
20
|
-
function _next(value) {
|
|
21
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
22
|
-
}
|
|
23
|
-
function _throw(err) {
|
|
24
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
25
|
-
}
|
|
26
|
-
_next(undefined);
|
|
27
|
-
});
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
function _ts_generator(thisArg, body) {
|
|
31
|
-
var f, y, t, g, _ = {
|
|
32
|
-
label: 0,
|
|
33
|
-
sent: function() {
|
|
34
|
-
if (t[0] & 1) throw t[1];
|
|
35
|
-
return t[1];
|
|
36
|
-
},
|
|
37
|
-
trys: [],
|
|
38
|
-
ops: []
|
|
39
|
-
};
|
|
40
|
-
return g = {
|
|
41
|
-
next: verb(0),
|
|
42
|
-
"throw": verb(1),
|
|
43
|
-
"return": verb(2)
|
|
44
|
-
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
45
|
-
return this;
|
|
46
|
-
}), g;
|
|
47
|
-
function verb(n) {
|
|
48
|
-
return function(v) {
|
|
49
|
-
return step([
|
|
50
|
-
n,
|
|
51
|
-
v
|
|
52
|
-
]);
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
function step(op) {
|
|
56
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
57
|
-
while(_)try {
|
|
58
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
59
|
-
if (y = 0, t) op = [
|
|
60
|
-
op[0] & 2,
|
|
61
|
-
t.value
|
|
62
|
-
];
|
|
63
|
-
switch(op[0]){
|
|
64
|
-
case 0:
|
|
65
|
-
case 1:
|
|
66
|
-
t = op;
|
|
67
|
-
break;
|
|
68
|
-
case 4:
|
|
69
|
-
_.label++;
|
|
70
|
-
return {
|
|
71
|
-
value: op[1],
|
|
72
|
-
done: false
|
|
73
|
-
};
|
|
74
|
-
case 5:
|
|
75
|
-
_.label++;
|
|
76
|
-
y = op[1];
|
|
77
|
-
op = [
|
|
78
|
-
0
|
|
79
|
-
];
|
|
80
|
-
continue;
|
|
81
|
-
case 7:
|
|
82
|
-
op = _.ops.pop();
|
|
83
|
-
_.trys.pop();
|
|
84
|
-
continue;
|
|
85
|
-
default:
|
|
86
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
87
|
-
_ = 0;
|
|
88
|
-
continue;
|
|
89
|
-
}
|
|
90
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
91
|
-
_.label = op[1];
|
|
92
|
-
break;
|
|
93
|
-
}
|
|
94
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
95
|
-
_.label = t[1];
|
|
96
|
-
t = op;
|
|
97
|
-
break;
|
|
98
|
-
}
|
|
99
|
-
if (t && _.label < t[2]) {
|
|
100
|
-
_.label = t[2];
|
|
101
|
-
_.ops.push(op);
|
|
102
|
-
break;
|
|
103
|
-
}
|
|
104
|
-
if (t[2]) _.ops.pop();
|
|
105
|
-
_.trys.pop();
|
|
106
|
-
continue;
|
|
107
|
-
}
|
|
108
|
-
op = body.call(thisArg, _);
|
|
109
|
-
} catch (e) {
|
|
110
|
-
op = [
|
|
111
|
-
6,
|
|
112
|
-
e
|
|
113
|
-
];
|
|
114
|
-
y = 0;
|
|
115
|
-
} finally{
|
|
116
|
-
f = t = 0;
|
|
117
|
-
}
|
|
118
|
-
if (op[0] & 5) throw op[1];
|
|
119
|
-
return {
|
|
120
|
-
value: op[0] ? op[1] : void 0,
|
|
121
|
-
done: true
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
import { ImpervaFetch } from "./imperva.fetch";
|
|
126
|
-
describe("Imperva fetch plug-in", function() {
|
|
127
|
-
var defaultContext = {};
|
|
128
|
-
var documentBackup;
|
|
129
|
-
beforeEach(function() {
|
|
130
|
-
documentBackup = global.document;
|
|
131
|
-
global.document = {};
|
|
132
|
-
});
|
|
133
|
-
afterEach(function() {
|
|
134
|
-
global.document = documentBackup;
|
|
135
|
-
});
|
|
136
|
-
it("Should allow if cookie is already there", /*#__PURE__*/ _async_to_generator(function() {
|
|
137
|
-
var plugin, runner, canStart;
|
|
138
|
-
return _ts_generator(this, function(_state) {
|
|
139
|
-
switch(_state.label){
|
|
140
|
-
case 0:
|
|
141
|
-
global.document.cookie = "reese84=12345qwerty";
|
|
142
|
-
plugin = new ImpervaFetch({
|
|
143
|
-
cookieName: "reese84"
|
|
144
|
-
});
|
|
145
|
-
runner = plugin.load(defaultContext);
|
|
146
|
-
canStart = runner.canStart();
|
|
147
|
-
return [
|
|
148
|
-
4,
|
|
149
|
-
jest.runAllTimersAsync()
|
|
150
|
-
];
|
|
151
|
-
case 1:
|
|
152
|
-
_state.sent();
|
|
153
|
-
return [
|
|
154
|
-
4,
|
|
155
|
-
canStart
|
|
156
|
-
];
|
|
157
|
-
case 2:
|
|
158
|
-
expect.apply(void 0, [
|
|
159
|
-
_state.sent()
|
|
160
|
-
]).toBeTruthy();
|
|
161
|
-
return [
|
|
162
|
-
2
|
|
163
|
-
];
|
|
164
|
-
}
|
|
165
|
-
});
|
|
166
|
-
}));
|
|
167
|
-
it("Should not allow if the cookie is not there and configured to fail", /*#__PURE__*/ _async_to_generator(function() {
|
|
168
|
-
var plugin, runner, canStart;
|
|
169
|
-
return _ts_generator(this, function(_state) {
|
|
170
|
-
switch(_state.label){
|
|
171
|
-
case 0:
|
|
172
|
-
plugin = new ImpervaFetch({
|
|
173
|
-
cookieName: "reese84",
|
|
174
|
-
allowCallOnTimeout: false
|
|
175
|
-
});
|
|
176
|
-
runner = plugin.load(defaultContext);
|
|
177
|
-
canStart = runner.canStart();
|
|
178
|
-
return [
|
|
179
|
-
4,
|
|
180
|
-
jest.runAllTimersAsync()
|
|
181
|
-
];
|
|
182
|
-
case 1:
|
|
183
|
-
_state.sent();
|
|
184
|
-
return [
|
|
185
|
-
4,
|
|
186
|
-
canStart
|
|
187
|
-
];
|
|
188
|
-
case 2:
|
|
189
|
-
expect.apply(void 0, [
|
|
190
|
-
_state.sent()
|
|
191
|
-
]).toBeFalsy();
|
|
192
|
-
return [
|
|
193
|
-
2
|
|
194
|
-
];
|
|
195
|
-
}
|
|
196
|
-
});
|
|
197
|
-
}));
|
|
198
|
-
it("Should respect the configured timeout", /*#__PURE__*/ _async_to_generator(function() {
|
|
199
|
-
var plugin, runner, callback, run;
|
|
200
|
-
return _ts_generator(this, function(_state) {
|
|
201
|
-
switch(_state.label){
|
|
202
|
-
case 0:
|
|
203
|
-
plugin = new ImpervaFetch({
|
|
204
|
-
cookieName: "reese84",
|
|
205
|
-
allowCallOnTimeout: false,
|
|
206
|
-
maximumTries: 2,
|
|
207
|
-
delayBetweenTriesInMilliseconds: 1000
|
|
208
|
-
});
|
|
209
|
-
runner = plugin.load(defaultContext);
|
|
210
|
-
callback = jest.fn();
|
|
211
|
-
run = runner.canStart().then(callback);
|
|
212
|
-
return [
|
|
213
|
-
4,
|
|
214
|
-
jest.advanceTimersByTimeAsync(999)
|
|
215
|
-
];
|
|
216
|
-
case 1:
|
|
217
|
-
_state.sent();
|
|
218
|
-
expect(callback).not.toHaveBeenCalled();
|
|
219
|
-
return [
|
|
220
|
-
4,
|
|
221
|
-
jest.advanceTimersByTimeAsync(1)
|
|
222
|
-
];
|
|
223
|
-
case 2:
|
|
224
|
-
_state.sent();
|
|
225
|
-
expect(callback).toHaveBeenCalled();
|
|
226
|
-
return [
|
|
227
|
-
4,
|
|
228
|
-
run
|
|
229
|
-
];
|
|
230
|
-
case 3:
|
|
231
|
-
_state.sent();
|
|
232
|
-
return [
|
|
233
|
-
2
|
|
234
|
-
];
|
|
235
|
-
}
|
|
236
|
-
});
|
|
237
|
-
}));
|
|
238
|
-
it("Should allow if the cookie is not there and configured to allow nonetheless", /*#__PURE__*/ _async_to_generator(function() {
|
|
239
|
-
var plugin, runner, canStart;
|
|
240
|
-
return _ts_generator(this, function(_state) {
|
|
241
|
-
switch(_state.label){
|
|
242
|
-
case 0:
|
|
243
|
-
plugin = new ImpervaFetch({
|
|
244
|
-
cookieName: "reese84",
|
|
245
|
-
allowCallOnTimeout: true
|
|
246
|
-
});
|
|
247
|
-
runner = plugin.load(defaultContext);
|
|
248
|
-
canStart = runner.canStart();
|
|
249
|
-
return [
|
|
250
|
-
4,
|
|
251
|
-
jest.runAllTimersAsync()
|
|
252
|
-
];
|
|
253
|
-
case 1:
|
|
254
|
-
_state.sent();
|
|
255
|
-
return [
|
|
256
|
-
4,
|
|
257
|
-
canStart
|
|
258
|
-
];
|
|
259
|
-
case 2:
|
|
260
|
-
expect.apply(void 0, [
|
|
261
|
-
_state.sent()
|
|
262
|
-
]).toBeTruthy();
|
|
263
|
-
return [
|
|
264
|
-
2
|
|
265
|
-
];
|
|
266
|
-
}
|
|
267
|
-
});
|
|
268
|
-
}));
|
|
269
|
-
it("Should eventually allow if the cookie is set before the plug-in is configured to timeout", /*#__PURE__*/ _async_to_generator(function() {
|
|
270
|
-
var plugin, runner, canStart;
|
|
271
|
-
return _ts_generator(this, function(_state) {
|
|
272
|
-
switch(_state.label){
|
|
273
|
-
case 0:
|
|
274
|
-
plugin = new ImpervaFetch({
|
|
275
|
-
cookieName: "reese84",
|
|
276
|
-
allowCallOnTimeout: false,
|
|
277
|
-
maximumTries: 2,
|
|
278
|
-
delayBetweenTriesInMilliseconds: 1000
|
|
279
|
-
});
|
|
280
|
-
runner = plugin.load(defaultContext);
|
|
281
|
-
canStart = runner.canStart();
|
|
282
|
-
return [
|
|
283
|
-
4,
|
|
284
|
-
jest.advanceTimersByTimeAsync(500)
|
|
285
|
-
];
|
|
286
|
-
case 1:
|
|
287
|
-
_state.sent();
|
|
288
|
-
global.document.cookie = "reese84=12345qwerty";
|
|
289
|
-
return [
|
|
290
|
-
4,
|
|
291
|
-
jest.advanceTimersByTimeAsync(500)
|
|
292
|
-
];
|
|
293
|
-
case 2:
|
|
294
|
-
_state.sent();
|
|
295
|
-
return [
|
|
296
|
-
4,
|
|
297
|
-
canStart
|
|
298
|
-
];
|
|
299
|
-
case 3:
|
|
300
|
-
expect.apply(void 0, [
|
|
301
|
-
_state.sent()
|
|
302
|
-
]).toBeTruthy();
|
|
303
|
-
return [
|
|
304
|
-
2
|
|
305
|
-
];
|
|
306
|
-
}
|
|
307
|
-
});
|
|
308
|
-
}));
|
|
309
|
-
it("Should not allow if the cookie is set after the plug-in is configured to timeout", /*#__PURE__*/ _async_to_generator(function() {
|
|
310
|
-
var plugin, runner, canStart;
|
|
311
|
-
return _ts_generator(this, function(_state) {
|
|
312
|
-
switch(_state.label){
|
|
313
|
-
case 0:
|
|
314
|
-
plugin = new ImpervaFetch({
|
|
315
|
-
cookieName: "reese84",
|
|
316
|
-
allowCallOnTimeout: false,
|
|
317
|
-
maximumTries: 2,
|
|
318
|
-
delayBetweenTriesInMilliseconds: 500
|
|
319
|
-
});
|
|
320
|
-
runner = plugin.load(defaultContext);
|
|
321
|
-
canStart = runner.canStart();
|
|
322
|
-
return [
|
|
323
|
-
4,
|
|
324
|
-
jest.advanceTimersByTimeAsync(1000)
|
|
325
|
-
];
|
|
326
|
-
case 1:
|
|
327
|
-
_state.sent();
|
|
328
|
-
global.document.cookie = "reese84=12345qwerty";
|
|
329
|
-
return [
|
|
330
|
-
4,
|
|
331
|
-
canStart
|
|
332
|
-
];
|
|
333
|
-
case 2:
|
|
334
|
-
expect.apply(void 0, [
|
|
335
|
-
_state.sent()
|
|
336
|
-
]).toBeFalsy();
|
|
337
|
-
return [
|
|
338
|
-
2
|
|
339
|
-
];
|
|
340
|
-
}
|
|
341
|
-
});
|
|
342
|
-
}));
|
|
343
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./imperva.fetch";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./public-facts.request";
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0) {
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
5
|
-
return self;
|
|
6
|
-
}
|
|
7
|
-
function _class_call_check(instance, Constructor) {
|
|
8
|
-
if (!(instance instanceof Constructor)) {
|
|
9
|
-
throw new TypeError("Cannot call a class as a function");
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
function _get_prototype_of(o) {
|
|
13
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
14
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
15
|
-
};
|
|
16
|
-
return _get_prototype_of(o);
|
|
17
|
-
}
|
|
18
|
-
function _inherits(subClass, superClass) {
|
|
19
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
20
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
21
|
-
}
|
|
22
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
23
|
-
constructor: {
|
|
24
|
-
value: subClass,
|
|
25
|
-
writable: true,
|
|
26
|
-
configurable: true
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
if (superClass) _set_prototype_of(subClass, superClass);
|
|
30
|
-
}
|
|
31
|
-
function _possible_constructor_return(self, call) {
|
|
32
|
-
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
33
|
-
return call;
|
|
34
|
-
}
|
|
35
|
-
return _assert_this_initialized(self);
|
|
36
|
-
}
|
|
37
|
-
function _set_prototype_of(o, p) {
|
|
38
|
-
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
39
|
-
o.__proto__ = p;
|
|
40
|
-
return o;
|
|
41
|
-
};
|
|
42
|
-
return _set_prototype_of(o, p);
|
|
43
|
-
}
|
|
44
|
-
function _type_of(obj) {
|
|
45
|
-
"@swc/helpers - typeof";
|
|
46
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
47
|
-
}
|
|
48
|
-
function _is_native_reflect_construct() {
|
|
49
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
50
|
-
if (Reflect.construct.sham) return false;
|
|
51
|
-
if (typeof Proxy === "function") return true;
|
|
52
|
-
try {
|
|
53
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
54
|
-
return true;
|
|
55
|
-
} catch (e) {
|
|
56
|
-
return false;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
function _create_super(Derived) {
|
|
60
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
61
|
-
return function _createSuperInternal() {
|
|
62
|
-
var Super = _get_prototype_of(Derived), result;
|
|
63
|
-
if (hasNativeReflectConstruct) {
|
|
64
|
-
var NewTarget = _get_prototype_of(this).constructor;
|
|
65
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
66
|
-
} else {
|
|
67
|
-
result = Super.apply(this, arguments);
|
|
68
|
-
}
|
|
69
|
-
return _possible_constructor_return(this, result);
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
import { createJwtFactsEncoder as clientFactsPluginCreateJwtFactsEncoder, ClientFactsRequestPlugin } from "../client-facts/client-facts.request";
|
|
73
|
-
/**
|
|
74
|
-
* @deprecated use createJwtFactsEncoder fromn client-facts plugin instead, will be removed in v10
|
|
75
|
-
*
|
|
76
|
-
* Creates a JWT encoding function which transforms the provided Facts as a unsecured JWT format https://tools.ietf.org/html/rfc7519#section-6
|
|
77
|
-
*/ export var createJwtFactsEncoder = clientFactsPluginCreateJwtFactsEncoder;
|
|
78
|
-
/**
|
|
79
|
-
* @deprecated use ClientFactsPlugin instead, will be removed in v10
|
|
80
|
-
*
|
|
81
|
-
* Plugin to manage Public facts send to the API.
|
|
82
|
-
* Facts are represented as an object of strings or numbers.
|
|
83
|
-
*
|
|
84
|
-
* The plugin allows to define two layers of facts:
|
|
85
|
-
* - Global: synchronous map of facts sent with every request
|
|
86
|
-
* - Request: function that is called with all the request information where you can return specific facts for every request
|
|
87
|
-
* If both are defined for a request, the priority is given to request specific facts.
|
|
88
|
-
*
|
|
89
|
-
* Facts are stringified and encoded in base64 and are added to every requests as a Header that is configurable.
|
|
90
|
-
* @example only global facts
|
|
91
|
-
* const publicFactsPlugin = new PublicFactsRequestPlugin<BookingPublicFacts>({
|
|
92
|
-
* initialGlobalFacts: {
|
|
93
|
-
* country: 'FRA'
|
|
94
|
-
* }
|
|
95
|
-
* });
|
|
96
|
-
* @example request facts
|
|
97
|
-
* const publicFactsPlugin = new PublicFactsRequestPlugin<BookingPublicFacts>({
|
|
98
|
-
* factsFactory: (request) => {
|
|
99
|
-
* if (request.basePath.includes('/order/')) {
|
|
100
|
-
* return {
|
|
101
|
-
* specificFact: 'foo'
|
|
102
|
-
* };
|
|
103
|
-
* }
|
|
104
|
-
* return {};
|
|
105
|
-
* }
|
|
106
|
-
* });
|
|
107
|
-
* @example global facts based on Store value
|
|
108
|
-
* const publicFactsPlugin = new PublicFactsRequestPlugin<BookingPublicFacts>({});
|
|
109
|
-
*
|
|
110
|
-
* store.pipe(
|
|
111
|
-
* select(selectOrderEntity)
|
|
112
|
-
* ).subscribe((order) => {
|
|
113
|
-
* const facts = getFactsFromOrder(order);
|
|
114
|
-
* publicFactsPlugin.setGlobalFacts(facts);
|
|
115
|
-
* });
|
|
116
|
-
* @example request facts based on Store value
|
|
117
|
-
* const publicFactsPlugin = new PublicFactsRequestPlugin<BookingPublicFacts>({
|
|
118
|
-
* factsFactory: (request) => {
|
|
119
|
-
* if (request.basePath.includes('/order/') && request.method !== 'GET') {
|
|
120
|
-
* return store.pipe(
|
|
121
|
-
* select(selectOrderEntity),
|
|
122
|
-
* take(1),
|
|
123
|
-
* map(getFactsFromOrder)
|
|
124
|
-
* ).toPromise();
|
|
125
|
-
* }
|
|
126
|
-
* return {};
|
|
127
|
-
* }
|
|
128
|
-
* });
|
|
129
|
-
*/ export var PublicFactsRequestPlugin = /*#__PURE__*/ function(ClientFactsRequestPlugin) {
|
|
130
|
-
"use strict";
|
|
131
|
-
_inherits(PublicFactsRequestPlugin, ClientFactsRequestPlugin);
|
|
132
|
-
var _super = _create_super(PublicFactsRequestPlugin);
|
|
133
|
-
function PublicFactsRequestPlugin() {
|
|
134
|
-
_class_call_check(this, PublicFactsRequestPlugin);
|
|
135
|
-
return _super.apply(this, arguments);
|
|
136
|
-
}
|
|
137
|
-
return PublicFactsRequestPlugin;
|
|
138
|
-
}(ClientFactsRequestPlugin);
|