@pact-foundation/pact-core 13.11.1 → 13.11.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/CHANGELOG.md +14 -0
- package/build/Makefile +1 -1
- package/ffi/libpact_ffi.dylib +0 -0
- package/ffi/libpact_ffi.so +0 -0
- package/ffi/libpact_ffi.so.gz +0 -0
- package/ffi/linuxaarch64/libpact_ffi.so +0 -0
- package/ffi/osxaarch64/libpact_ffi.dylib +0 -0
- package/ffi/pact-cpp.h +8 -4
- package/ffi/pact.h +8 -4
- package/ffi/pact_ffi.dll +0 -0
- package/package.json +1 -1
- package/src/consumer/types.d.ts +1 -0
- package/src/ffi/index.d.ts +1 -1
- package/src/ffi/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [13.11.3](https://github.com/pact-foundation/pact-js-core/compare/v13.11.2...v13.11.3) (2022-11-07)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Fixes and Improvements
|
|
9
|
+
|
|
10
|
+
* upgrade to ffi 0.3.14 ([1e0358d](https://github.com/pact-foundation/pact-js-core/commit/1e0358dd3d739b23291966b9e7dfddd34ddd6f21))
|
|
11
|
+
|
|
12
|
+
### [13.11.2](https://github.com/pact-foundation/pact-js-core/compare/v13.11.1...v13.11.2) (2022-11-04)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Fixes and Improvements
|
|
16
|
+
|
|
17
|
+
* restore ConsumerMessage type (alias) ([f44283d](https://github.com/pact-foundation/pact-js-core/commit/f44283de63825c988ec44a36af75712f4f8fd0d9))
|
|
18
|
+
|
|
5
19
|
### [13.11.1](https://github.com/pact-foundation/pact-js-core/compare/v13.11.0...v13.11.1) (2022-11-02)
|
|
6
20
|
|
|
7
21
|
|
package/build/Makefile
CHANGED
|
@@ -319,7 +319,7 @@ endif
|
|
|
319
319
|
|
|
320
320
|
quiet_cmd_regen_makefile = ACTION Regenerating $@
|
|
321
321
|
cmd_regen_makefile = cd $(srcdir); /opt/hostedtoolcache/node/12.22.12/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/home/runner/.cache/node-gyp/12.22.12" "-Dnode_gyp_dir=/opt/hostedtoolcache/node/12.22.12/x64/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/home/runner/.cache/node-gyp/12.22.12/<(target_arch)/node.lib" "-Dmodule_root_dir=/home/runner/work/pact-js-core/pact-js-core" "-Dnode_engine=v8" "--depth=." "-Goutput_dir=." "--generator-output=build" -I/home/runner/work/pact-js-core/pact-js-core/build/config.gypi -I/opt/hostedtoolcache/node/12.22.12/x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/home/runner/.cache/node-gyp/12.22.12/include/node/common.gypi "--toplevel-dir=." binding.gyp
|
|
322
|
-
Makefile: $(srcdir)/../../../../../opt/hostedtoolcache/node/12.22.12/x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/
|
|
322
|
+
Makefile: $(srcdir)/../../../../../opt/hostedtoolcache/node/12.22.12/x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/binding.gyp $(srcdir)/build/config.gypi $(srcdir)/../../../.cache/node-gyp/12.22.12/include/node/common.gypi
|
|
323
323
|
$(call do_cmd,regen_makefile)
|
|
324
324
|
|
|
325
325
|
# "all" is a concatenation of the "all" targets from all the included
|
package/ffi/libpact_ffi.dylib
CHANGED
|
Binary file
|
package/ffi/libpact_ffi.so
CHANGED
|
Binary file
|
package/ffi/libpact_ffi.so.gz
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/ffi/pact-cpp.h
CHANGED
|
@@ -2687,10 +2687,14 @@ void pactffi_verifier_set_filter_info(VerifierHandle *handle,
|
|
|
2687
2687
|
unsigned char filter_no_state);
|
|
2688
2688
|
|
|
2689
2689
|
/**
|
|
2690
|
-
* Set the provider state for the Pact verifier.
|
|
2691
|
-
*
|
|
2692
|
-
* `teardown` is a boolean value.
|
|
2693
|
-
*
|
|
2690
|
+
* Set the provider state URL for the Pact verifier.
|
|
2691
|
+
*
|
|
2692
|
+
* `teardown` is a boolean value. If teardown state change requests should be made after an
|
|
2693
|
+
* interaction is validated (default is false). Set it to greater than zero to turn the
|
|
2694
|
+
* option on.
|
|
2695
|
+
* `body` is a boolean value. Sets if state change request data should be sent in the body
|
|
2696
|
+
* (> 0, true) or as query parameters (== 0, false). Set it to greater than zero to turn the
|
|
2697
|
+
* option on.
|
|
2694
2698
|
*
|
|
2695
2699
|
* # Safety
|
|
2696
2700
|
*
|
package/ffi/pact.h
CHANGED
|
@@ -2685,10 +2685,14 @@ void pactffi_verifier_set_filter_info(struct VerifierHandle *handle,
|
|
|
2685
2685
|
unsigned char filter_no_state);
|
|
2686
2686
|
|
|
2687
2687
|
/**
|
|
2688
|
-
* Set the provider state for the Pact verifier.
|
|
2689
|
-
*
|
|
2690
|
-
* `teardown` is a boolean value.
|
|
2691
|
-
*
|
|
2688
|
+
* Set the provider state URL for the Pact verifier.
|
|
2689
|
+
*
|
|
2690
|
+
* `teardown` is a boolean value. If teardown state change requests should be made after an
|
|
2691
|
+
* interaction is validated (default is false). Set it to greater than zero to turn the
|
|
2692
|
+
* option on.
|
|
2693
|
+
* `body` is a boolean value. Sets if state change request data should be sent in the body
|
|
2694
|
+
* (> 0, true) or as query parameters (== 0, false). Set it to greater than zero to turn the
|
|
2695
|
+
* option on.
|
|
2692
2696
|
*
|
|
2693
2697
|
* # Safety
|
|
2694
2698
|
*
|
package/ffi/pact_ffi.dll
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pact-foundation/pact-core",
|
|
3
|
-
"version": "13.11.
|
|
3
|
+
"version": "13.11.3",
|
|
4
4
|
"description": "Core of @pact-foundation/pact. You almost certainly don't want to depend on this directly.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"homepage": "https://github.com/pact-foundation/pact-js-core#readme",
|
package/src/consumer/types.d.ts
CHANGED
|
@@ -131,6 +131,7 @@ export declare type AsynchronousMessage = RequestPluginInteraction & {
|
|
|
131
131
|
withBinaryContents: (body: Buffer, contentType: string) => void;
|
|
132
132
|
reifyMessage: () => string;
|
|
133
133
|
};
|
|
134
|
+
export declare type ConsumerMessage = AsynchronousMessage;
|
|
134
135
|
export declare type SynchronousMessage = PluginInteraction & {
|
|
135
136
|
given: (state: string) => void;
|
|
136
137
|
givenWithParam: (state: string, name: string, value: string) => void;
|
package/src/ffi/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LogLevel } from '../logger/types';
|
|
2
2
|
import { Ffi } from './types';
|
|
3
3
|
declare const ffiLib: Ffi;
|
|
4
|
-
export declare const PACT_FFI_VERSION = "0.3.
|
|
4
|
+
export declare const PACT_FFI_VERSION = "0.3.14";
|
|
5
5
|
declare let ffi: typeof ffiLib;
|
|
6
6
|
export declare const getFfiLib: (logLevel?: LogLevel) => typeof ffi;
|
|
7
7
|
export {};
|
package/src/ffi/index.js
CHANGED
|
@@ -23,7 +23,7 @@ exports.getFfiLib = exports.PACT_FFI_VERSION = void 0;
|
|
|
23
23
|
const logger_1 = __importStar(require("../logger"));
|
|
24
24
|
const bindings = require("bindings");
|
|
25
25
|
const ffiLib = bindings('pact.node');
|
|
26
|
-
exports.PACT_FFI_VERSION = '0.3.
|
|
26
|
+
exports.PACT_FFI_VERSION = '0.3.14';
|
|
27
27
|
let ffi;
|
|
28
28
|
let ffiLogLevel;
|
|
29
29
|
const initialiseFfi = (logLevel) => {
|