@sprucelabs/spruce-people-utils 1.0.53 → 1.0.56

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.
@@ -44,11 +44,8 @@ declare const inviteFormSchema: {
44
44
  label: string;
45
45
  type: "text";
46
46
  };
47
- lastName: {
48
- label: string;
49
- type: "text";
50
- };
51
47
  phone: {
48
+ label: string;
52
49
  type: "phone";
53
50
  isRequired: true;
54
51
  };
@@ -40,7 +40,13 @@ export default class InvitePersonCardViewController extends AbstractViewControll
40
40
  isPlaying: false,
41
41
  sentences: [
42
42
  {
43
- words: 'Ready when you are!',
43
+ words: `Ok, they should have gotten a text message with an invite link.`,
44
+ },
45
+ {
46
+ words: `Have them tap the link and follow the instructions!`,
47
+ },
48
+ {
49
+ words: "Once they are done we'll be onto the next step!",
44
50
  },
45
51
  ],
46
52
  });
@@ -132,7 +138,7 @@ export default class InvitePersonCardViewController extends AbstractViewControll
132
138
  onSubmit: this.handleSubmitNamePhoneForm.bind(this),
133
139
  sections: [
134
140
  {
135
- fields: ['firstName', 'lastName', 'phone'],
141
+ fields: ['firstName', 'phone'],
136
142
  },
137
143
  ],
138
144
  }));
@@ -212,11 +218,8 @@ const inviteFormSchema = buildSchema({
212
218
  label: 'First name',
213
219
  type: 'text',
214
220
  },
215
- lastName: {
216
- label: 'Last name',
217
- type: 'text',
218
- },
219
221
  phone: {
222
+ label: 'Phone',
220
223
  type: 'phone',
221
224
  isRequired: true,
222
225
  },
@@ -44,11 +44,8 @@ declare const inviteFormSchema: {
44
44
  label: string;
45
45
  type: "text";
46
46
  };
47
- lastName: {
48
- label: string;
49
- type: "text";
50
- };
51
47
  phone: {
48
+ label: string;
52
49
  type: "phone";
53
50
  isRequired: true;
54
51
  };
@@ -33,7 +33,13 @@ class InvitePersonCardViewController extends heartwood_view_controllers_1.Abstra
33
33
  isPlaying: false,
34
34
  sentences: [
35
35
  {
36
- words: 'Ready when you are!',
36
+ words: `Ok, they should have gotten a text message with an invite link.`,
37
+ },
38
+ {
39
+ words: `Have them tap the link and follow the instructions!`,
40
+ },
41
+ {
42
+ words: "Once they are done we'll be onto the next step!",
37
43
  },
38
44
  ],
39
45
  });
@@ -117,7 +123,7 @@ class InvitePersonCardViewController extends heartwood_view_controllers_1.Abstra
117
123
  onSubmit: this.handleSubmitNamePhoneForm.bind(this),
118
124
  sections: [
119
125
  {
120
- fields: ['firstName', 'lastName', 'phone'],
126
+ fields: ['firstName', 'phone'],
121
127
  },
122
128
  ],
123
129
  }));
@@ -185,11 +191,8 @@ const inviteFormSchema = (0, schema_1.buildSchema)({
185
191
  label: 'First name',
186
192
  type: 'text',
187
193
  },
188
- lastName: {
189
- label: 'Last name',
190
- type: 'text',
191
- },
192
194
  phone: {
195
+ label: 'Phone',
193
196
  type: 'phone',
194
197
  isRequired: true,
195
198
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-people-utils",
3
3
  "description": "People Utilities",
4
- "version": "1.0.53",
4
+ "version": "1.0.56",
5
5
  "skill": {
6
6
  "namespace": "invite"
7
7
  },