Skip to content

Commit c209ab4

Browse files
authored
Merge pull request #502 from newhouse/newhouse/501-add-allowUpdates-to-createEtchPacket
add allowUpdates to createEtchPacket mutation default
2 parents 641cb37 + 48debc4 commit c209ab4

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [v3.3.2]
9+
- Update the default `createEtchPacket` mutation to suport `allowUpdates`[`#502`](https://github.com/anvilco/node-anvil/pull/502)
10+
811
## [v3.3.1]
912
- Added a `NodeError` type. https://github.com/anvilco/node-anvil/issues/476
1013
- Updated various dependencies

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@anvilco/anvil",
3-
"version": "3.3.1",
3+
"version": "3.3.2",
44
"description": "Anvil API Client",
55
"author": "Anvil Foundry Inc.",
66
"homepage": "https://github.com/anvilco/node-anvil#readme",

src/graphql/mutations/createEtchPacket.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const defaultResponseQuery = `{
33
name
44
status
55
isTest
6+
allowUpdates
67
numberRemainingSigners
78
detailsURL
89
webhookURL
@@ -45,7 +46,8 @@ export const generateMutation = (responseQuery = defaultResponseQuery) => `
4546
$enableEmails: JSON,
4647
$createCastTemplatesFromUploads: Boolean,
4748
$duplicateCasts: Boolean,
48-
$mergePDFs: Boolean
49+
$mergePDFs: Boolean,
50+
$allowUpdates: Boolean
4951
) {
5052
createEtchPacket(
5153
name: $name,
@@ -65,6 +67,7 @@ export const generateMutation = (responseQuery = defaultResponseQuery) => `
6567
enableEmails: $enableEmails,
6668
createCastTemplatesFromUploads: $createCastTemplatesFromUploads,
6769
duplicateCasts: $duplicateCasts,
68-
mergePDFs: $mergePDFs
70+
mergePDFs: $mergePDFs,
71+
allowUpdates: $allowUpdates
6972
) ${responseQuery}
7073
}`

0 commit comments

Comments
 (0)