Comparing version 1.1.0 to 1.1.1
@@ -81,3 +81,3 @@ 'use strict' | ||
const phone_number = function (title, url) { | ||
const phone_number = function (title, payload) { | ||
if (typeof title !== 'string') { | ||
@@ -93,3 +93,3 @@ throw TypeError(`[smsg#phone_number] 'title' must be a string.`) | ||
title: title, | ||
url: url, | ||
payload: payload, | ||
type: 'phone_number' | ||
@@ -96,0 +96,0 @@ } |
{ | ||
"name": "smsg", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A simple library for constructing structured messages for the Messenger Platform Send API.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
16718