- From: Jake Archibald <notifications@github.com>
- Date: Fri, 09 Sep 2016 09:36:25 -0700
- To: w3c/webpayments-payment-apps-api <webpayments-payment-apps-api@noreply.github.com>
Received on Friday, 9 September 2016 16:36:55 UTC
My thoughts in summary (now I've caught up with the rest of the thread):
You could have:
`sw.js`
```js
self.registration.payments.register({'name': 'Foopay'});
```
**Or:**
`sw.js`
```js
self.registration.payments.register('//manifest.json');
```
`manifest.json`
```json
{'name': 'Foopay'}
```
The former can be updated whenever page or service worker code runs (eg push message). The latter is dependent on an as-yet-undefined update model for the manifest.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webpayments-payment-apps-api/issues/33#issuecomment-245967495
Received on Friday, 9 September 2016 16:36:55 UTC